From 923c6d0952953a0addb8ac6a38784d5bb4ee437b Mon Sep 17 00:00:00 2001 From: Kei Kamikawa Date: Fri, 29 Jul 2022 23:19:14 +0900 Subject: [PATCH] fixed some code --- src/index.ts | 2 +- test/index.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index ba40f130..a5036dd5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -31,7 +31,7 @@ const defaultKeyStoreInitializer = (c: Context): KeyStorer => { export const verifyFirebaseAuth = ( userConfig: VerifyFirebaseAuthConfig -): Handler => { +): Handler => { const config = { projectId: userConfig.projectId, AuthorizationHeaderKey: diff --git a/test/index.test.ts b/test/index.test.ts index a69751c9..fc6eb0d6 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -32,7 +32,7 @@ describe("verifyFirebaseAuth middleware", () => { describe("service worker syntax", () => { test("valid case, should be 200", async () => { - const app = new Hono(); + const app = new Hono(); resetAuth();