Frank 4 месяцев назад
Родитель
Сommit
c1a420717a
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      packages/console/function/src/auth.ts

+ 2 - 0
packages/console/function/src/auth.ts

@@ -1,3 +1,4 @@
+import type { KVNamespace } from "@cloudflare/workers-types"
 import { z } from "zod"
 import { issuer } from "@openauthjs/openauth"
 import type { Theme } from "@openauthjs/openauth/ui/theme"
@@ -94,6 +95,7 @@ export default {
         //        }),
       },
       storage: CloudflareStorage({
+        // @ts-ignore
         namespace: env.AuthStorage,
       }),
       subjects,