ryuichi-e пре 5 година
родитељ
комит
0a62ab9362
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/server/routes/apiv3/share-links.js

+ 1 - 1
src/server/routes/apiv3/share-links.js

@@ -76,7 +76,7 @@ module.exports = (crowi) => {
    *            description: Succeeded to create one share link
    *            description: Succeeded to create one share link
    */
    */
 
 
-  router.post('/', /* loginRequired, csrf, */ validator.shareLinkStatus, ApiV3FormValidator, async(req, res) => {
+  router.post('/', loginRequired, csrf, validator.shareLinkStatus, ApiV3FormValidator, async(req, res) => {
     const { relatedPage, expiredAt, description } = req.body;
     const { relatedPage, expiredAt, description } = req.body;
     const ShareLink = crowi.model('ShareLink');
     const ShareLink = crowi.model('ShareLink');