Skip to content

Commit

Permalink
fix #9299
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Dec 10, 2022
1 parent 020cd5c commit b4b742c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/src/server/api/ApiCallService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit b4b742c

Please sign in to comment.