@@ -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,
@@ -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;