mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-11 13:18:09 +09:00
Remove space
This commit is contained in:
parent
117b8b2816
commit
cc21302224
@ -26,7 +26,7 @@ export default (endpoint: IEndpoint, ctx: Koa.BaseContext) => new Promise((res)
|
|||||||
call(endpoint.name, user, app, body, (ctx.req as any).file).then(res => {
|
call(endpoint.name, user, app, body, (ctx.req as any).file).then(res => {
|
||||||
reply(res);
|
reply(res);
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
reply(e.httpStatusCode ? e.httpStatusCode : e.kind == 'client' ? 400 : 500, e);
|
reply(e.httpStatusCode ? e.httpStatusCode : e.kind == 'client' ? 400 : 500, e);
|
||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
reply(403, new ApiError({
|
reply(403, new ApiError({
|
||||||
|
Loading…
Reference in New Issue
Block a user