Skip to content

Commit aac6033

Browse files
authored
Fix code example, remove deprecated rateLimit param (#260)
Missed one code example when I updated these docs.
1 parent 72f8bc4 commit aac6033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/throttling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can set the throttling rate on an application when [creating](https://api.sv
3939
import { Svix } from "svix";
4040

4141
const svix = new Svix("AUTH_TOKEN");
42-
const app = await svix.application.create({name: "Application name", rateLimit: 1000});
42+
const app = await svix.application.create({name: "Application name", throttleRate: 1000});
4343
```
4444

4545
</TabItem>

0 commit comments

Comments
 (0)