fixed some code
parent
6c088c50ed
commit
923c6d0952
|
@ -31,7 +31,7 @@ const defaultKeyStoreInitializer = (c: Context): KeyStorer => {
|
|||
|
||||
export const verifyFirebaseAuth = (
|
||||
userConfig: VerifyFirebaseAuthConfig
|
||||
): Handler<string, VerifyFirebaseAuthEnv> => {
|
||||
): Handler => {
|
||||
const config = {
|
||||
projectId: userConfig.projectId,
|
||||
AuthorizationHeaderKey:
|
||||
|
|
|
@ -32,7 +32,7 @@ describe("verifyFirebaseAuth middleware", () => {
|
|||
|
||||
describe("service worker syntax", () => {
|
||||
test("valid case, should be 200", async () => {
|
||||
const app = new Hono<VerifyFirebaseAuthEnv>();
|
||||
const app = new Hono();
|
||||
|
||||
resetAuth();
|
||||
|
||||
|
|
Loading…
Reference in New Issue