From b0b14904f88c52c097bcf8bd1c6ef0d802d4afad Mon Sep 17 00:00:00 2001 From: Harsh Shrikant Bhat <90265455+harshsbhat@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:37:59 +0530 Subject: [PATCH] chore: ratelimit curl snippets changed to -H --- apps/dashboard/app/(app)/ratelimits/[namespaceId]/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/app/(app)/ratelimits/[namespaceId]/page.tsx b/apps/dashboard/app/(app)/ratelimits/[namespaceId]/page.tsx index 2fb2ea32bf..19a0f92ac1 100644 --- a/apps/dashboard/app/(app)/ratelimits/[namespaceId]/page.tsx +++ b/apps/dashboard/app/(app)/ratelimits/[namespaceId]/page.tsx @@ -129,8 +129,8 @@ export default async function RatelimitNamespacePage(props: { // })); const snippet = `curl -XPOST 'https://api.unkey.dev/v1/ratelimits.limit' \\ - -h 'Content-Type: application/json' \\ - -h 'Authorization: Bearer ' \\ + -H 'Content-Type: application/json' \\ + -H 'Authorization: Bearer ' \\ -d '{ "namespace": "${namespace.name}", "identifier": "",