From b4b742ca893b8575db2bf18442ef83bed5f84a1f Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 10 Dec 2022 15:25:39 +0900 Subject: [PATCH] fix #9299 --- packages/backend/src/server/api/ApiCallService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/src/server/api/ApiCallService.ts b/packages/backend/src/server/api/ApiCallService.ts index fb1e17790c..40ad7e8c27 100644 --- a/packages/backend/src/server/api/ApiCallService.ts +++ b/packages/backend/src/server/api/ApiCallService.ts @@ -147,6 +147,7 @@ export class ApiCallService implements OnApplicationShutdown { private send(reply: FastifyReply, x?: any, y?: ApiError) { if (x == null) { reply.code(204); + reply.send(); } else if (typeof x === 'number' && y) { reply.code(x); reply.send({