summary refs log tree commit diff
path: root/src/api/util/handlers/route.ts
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-03-23 11:01:38 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:00:32 -0400
commit3335f16ad1a6ec114058a8b7e6e71c2cae33c33d (patch)
treeb42f864824fde1b4698687b069c9c5caafae8b0c /src/api/util/handlers/route.ts
parentauth routes (diff)
downloadserver-3335f16ad1a6ec114058a8b7e6e71c2cae33c33d.tar.xz
applications
Diffstat (limited to 'src/api/util/handlers/route.ts')
-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 66bd2890..04910ed4 100644
--- a/src/api/util/handlers/route.ts
+++ b/src/api/util/handlers/route.ts
@@ -55,7 +55,8 @@ export interface RouteOptions {
 	body?: `${string}Schema`; // typescript interface name
 	responses?: {
 		[status: number]: {
-			body?: `${string}Response`;
+			// body?: `${string}Response`;
+			body?: string;
 		};
 	};
 	test?: {