From 89a2782e47737f03a1ab82d1b94c9dd8034e16e6 Mon Sep 17 00:00:00 2001 From: Michael Silva Date: Thu, 12 Dec 2024 14:51:31 -0500 Subject: [PATCH] pr changes --- apps/docs/libraries/ts/sdk/overview.mdx | 4 ++-- .../libraries/ts/sdk/ratelimits/overrides/delete-override.mdx | 4 ++-- .../libraries/ts/sdk/ratelimits/overrides/list-overrides.mdx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/docs/libraries/ts/sdk/overview.mdx b/apps/docs/libraries/ts/sdk/overview.mdx index 4acfe9f5fb..39d06b7cf7 100644 --- a/apps/docs/libraries/ts/sdk/overview.mdx +++ b/apps/docs/libraries/ts/sdk/overview.mdx @@ -112,14 +112,14 @@ The constructor accepts some options to customize the behavior: Run all requests against your own instance of unkey hosted on your own infrastructure. - - ```ts const unkey = new Unkey({ //... baseUrl: "https://my.domain" }) ``` + + ### Retries diff --git a/apps/docs/libraries/ts/sdk/ratelimits/overrides/delete-override.mdx b/apps/docs/libraries/ts/sdk/ratelimits/overrides/delete-override.mdx index cd91126f3d..2da5f5cd50 100644 --- a/apps/docs/libraries/ts/sdk/ratelimits/overrides/delete-override.mdx +++ b/apps/docs/libraries/ts/sdk/ratelimits/overrides/delete-override.mdx @@ -29,13 +29,13 @@ No response, but if no error is returned the override has been deleted successfu ```ts -const override = await unkey.ratelimit.deleteOverride({ +await unkey.ratelimit.deleteOverride({ identifier: "user_123", namespaceName: "email.outbound", }) ``` ```ts -const override = await unkey.ratelimit.deleteOverride({ +await unkey.ratelimit.deleteOverride({ identifier: "user_123", namespaceId: "rlns_1234", }) diff --git a/apps/docs/libraries/ts/sdk/ratelimits/overrides/list-overrides.mdx b/apps/docs/libraries/ts/sdk/ratelimits/overrides/list-overrides.mdx index df536ce402..703397620a 100644 --- a/apps/docs/libraries/ts/sdk/ratelimits/overrides/list-overrides.mdx +++ b/apps/docs/libraries/ts/sdk/ratelimits/overrides/list-overrides.mdx @@ -62,12 +62,12 @@ The cursor to use for pagination ```ts -const override = await unkey.ratelimit.listOverrides({ +const overrides = await unkey.ratelimit.listOverrides({ nameSpaceId:"rlns_12345", }); ``` ```ts -const override = await unkey.ratelimit.listOverrides({ +const overrides = await unkey.ratelimit.listOverrides({ namespaceName: "email.outbound" }); ```