From 6cf8947c80ac79d0c255d4e75a6f56c6a19f2dfb Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Mon, 3 Mar 2025 12:09:50 +0100 Subject: [PATCH] Fix swagger response of /studios/:id --- api/src/controllers/studios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/controllers/studios.ts b/api/src/controllers/studios.ts index 6b0bdf5f..4330708e 100644 --- a/api/src/controllers/studios.ts +++ b/api/src/controllers/studios.ts @@ -107,7 +107,7 @@ export const studiosH = new Elysia({ prefix: "/studios", tags: ["studios"] }) "accept-language": AcceptLanguage(), }), response: { - 200: { ...Studio, description: "Found" }, + 200: "studio", 404: { ...KError, description: "No collection found with the given id or slug.",