mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
fix #9299
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user