summary refs log tree commit diff
path: root/src/api/util/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/util/handlers')
-rw-r--r--src/api/util/handlers/route.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/util/handlers/route.ts b/src/api/util/handlers/route.ts

index 24c3416d1..0d0a616af 100644 --- a/src/api/util/handlers/route.ts +++ b/src/api/util/handlers/route.ts
@@ -58,7 +58,7 @@ export interface RouteOptions { right?: RightResolvable; requestBody?: `${string}Schema`; // typescript interface name responses?: { - [status: number]: { + [status: number | string]: { // body?: `${string}Response`; body?: string; }; @@ -75,6 +75,7 @@ export interface RouteOptions { }; }; deprecated?: boolean; + ratelimitBucket?: string; // test?: { // response?: RouteResponse; // body?: unknown;