itizawa 5 лет назад
Родитель
Сommit
1c249e18bd
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 1
      src/server/routes/apiv3/pages.js
  2. 1 0
      src/server/routes/page.js

+ 1 - 1
src/server/routes/apiv3/pages.js

@@ -27,7 +27,7 @@ module.exports = (crowi) => {
   const pageService = crowi.pageService;
   const globalNotificationService = crowi.getGlobalNotificationService();
 
-  // TODO swagger and validation
+  // TODO write swagger(GW-3384) and validation(GW-3385)
   router.post('/', accessTokenParser, loginRequiredStrictly, csrf, async(req, res) => {
     const {
       body, grant, grantUserGroupId, overwriteScopesOfDescendants, isSlackEnabled, slackChannels, socketClientId, pageTags,

+ 1 - 0
src/server/routes/page.js

@@ -672,6 +672,7 @@ module.exports = function(crowi, app) {
    * @apiParam {String} grant
    * @apiParam {Array} pageTags
    */
+  // TODO If everything that depends on this route, delete it too
   api.create = async function(req, res) {
     const body = req.body.body || null;
     let pagePath = req.body.path || null;