Skip to content

Open-source status page, incident response and uptime monitoring

fix: unkey cache (#637)

Maximilian Kaskeebcc8560d3a7
diff --git a/apps/web/src/app/app/[workspaceSlug]/(dashboard)/settings/api-token/_components/actions.ts b/apps/web/src/app/app/[workspaceSlug]/(dashboard)/settings/api-token/_components/actions.ts
index bf6b1a58a..dd139dece 100644
--- a/apps/web/src/app/app/[workspaceSlug]/(dashboard)/settings/api-token/_components/actions.ts
+++ b/apps/web/src/app/app/[workspaceSlug]/(dashboard)/settings/api-token/_components/actions.ts
@@ -4,7 +4,7 @@ import { Unkey } from "@unkey/api";
import { env } from "@/env";
-const unkey = new Unkey({ token: env.UNKEY_TOKEN });
+const unkey = new Unkey({ token: env.UNKEY_TOKEN, cache: "no-cache" });
export async function create(ownerId: number) {
const key = await unkey.keys.create({