Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix

Marc Seitze6686a1e54f3
diff --git a/lib/api/auth/passkey.ts b/lib/api/auth/passkey.ts
index 75c5dd74..5af44b66 100644
--- a/lib/api/auth/passkey.ts
+++ b/lib/api/auth/passkey.ts
@@ -117,8 +117,8 @@ export async function removeUserPasskey({
throw new Error("Unauthorized");
}
- const tenantId = process.env.NEXT_PUBLIC_HANKO_TENANT_ID!;
- const apiKey = process.env.HANKO_API_KEY!;
+ const tenantId = process.env.NEXT_PUBLIC_HANKO_TENANT_ID;
+ const apiKey = process.env.HANKO_API_KEY;
if (!tenantId || !apiKey) {
throw new Error("Passkey service configuration missing");