Skip to content
Snippets Groups Projects
Commit b4b742ca authored by syuilo's avatar syuilo
Browse files

fix #9299

parent 020cd5cc
No related branches found
No related tags found
No related merge requests found
......@@ -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({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment