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({