Skip to content

Commit

Permalink
pr changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelUnkey committed Dec 12, 2024
1 parent 65fcd4d commit 89a2782
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/docs/libraries/ts/sdk/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<ParamField body="baseUrl" type="string" default="https://api.unkey.dev">

</ParamField>
```ts
const unkey = new Unkey({
//...
baseUrl: "https://my.domain"
})
```
</ParamField>


### Retries

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ No response, but if no error is returned the override has been deleted successfu
<RequestExample>

```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",
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ The cursor to use for pagination
<RequestExample>

```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"
});
```
Expand Down

0 comments on commit 89a2782

Please sign in to comment.