瀏覽代碼

minor bug fix

master
kj1352 4 年之前
父節點
當前提交
1a1c81a254
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/user-profile/category-routes.ts

+ 1
- 1
src/user-profile/category-routes.ts 查看文件

@@ -71,7 +71,7 @@ categoryRoutes.post('/add/', jwtAuthentication, async (request, response) => {
}
});
response.send(200);
response.status(200);
response.send(newCategory.insertedId.toHexString());
} catch(e) {
response.sendStatus(500);


Loading…
取消
儲存