浏览代码

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()); response.send(newCategory.insertedId.toHexString());
} catch(e) { } catch(e) {
response.sendStatus(500); response.sendStatus(500);


正在加载...
取消
保存