fixed some code

pull/34/head
Kei Kamikawa 2022-07-29 23:19:14 +09:00
parent 6c088c50ed
commit 923c6d0952
No known key found for this signature in database
GPG Key ID: 1A9F69C08C8C7A8E
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ const defaultKeyStoreInitializer = (c: Context): KeyStorer => {
export const verifyFirebaseAuth = ( export const verifyFirebaseAuth = (
userConfig: VerifyFirebaseAuthConfig userConfig: VerifyFirebaseAuthConfig
): Handler<string, VerifyFirebaseAuthEnv> => { ): Handler => {
const config = { const config = {
projectId: userConfig.projectId, projectId: userConfig.projectId,
AuthorizationHeaderKey: AuthorizationHeaderKey:

View File

@ -32,7 +32,7 @@ describe("verifyFirebaseAuth middleware", () => {
describe("service worker syntax", () => { describe("service worker syntax", () => {
test("valid case, should be 200", async () => { test("valid case, should be 200", async () => {
const app = new Hono<VerifyFirebaseAuthEnv>(); const app = new Hono();
resetAuth(); resetAuth();