Skip to content

Open-source status page, incident response and uptime monitoring

fix: typo (#345)

Maximilian Kaske5a833e1a8f21
diff --git a/apps/web/src/content/posts/secure-api-with-unkey.mdx b/apps/web/src/content/posts/secure-api-with-unkey.mdx
index 8e0866157..c2990fa1e 100644
--- a/apps/web/src/content/posts/secure-api-with-unkey.mdx
+++ b/apps/web/src/content/posts/secure-api-with-unkey.mdx
@@ -51,7 +51,7 @@ const unkey = new Unkey({ token: process.env.UNKEY_TOKEN });
export async function create(ownerId: number) {
const key = await unkey.keys.create({
- apiId: env.UNKEY_API_ID,
+ apiId: process.env.UNKEY_API_ID,
ownerId: String(ownerId), // workspaceId
prefix: "os", // os_1234567890
// include more options like 'ratelimit', 'expires', 'remaining'