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;
|