summaryrefslogtreecommitdiff
path: root/src/server/api/api-handler.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-23 15:42:52 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-23 15:42:52 +0900
commit558213490a88c758e3a41b6fe04e9d8a9e7738ea (patch)
tree5bbfdb65b5a78e34632df2e3f684fb7572c0ba45 /src/server/api/api-handler.ts
parentUpdate doc (diff)
downloadsharkey-558213490a88c758e3a41b6fe04e9d8a9e7738ea.tar.gz
sharkey-558213490a88c758e3a41b6fe04e9d8a9e7738ea.tar.bz2
sharkey-558213490a88c758e3a41b6fe04e9d8a9e7738ea.zip
Remove space
Diffstat (limited to 'src/server/api/api-handler.ts')
-rw-r--r--src/server/api/api-handler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/api-handler.ts b/src/server/api/api-handler.ts
index 00af69703e..0fe4994893 100644
--- a/src/server/api/api-handler.ts
+++ b/src/server/api/api-handler.ts
@@ -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 => {
reply(res);
}).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(() => {
reply(403, new ApiError({