reiji-h 2 лет назад
Родитель
Сommit
5156844ab4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/server/routes/apiv3/attachment.js

+ 1 - 1
apps/app/src/server/routes/apiv3/attachment.js

@@ -215,7 +215,7 @@ module.exports = (crowi) => {
    * @apiName AddAttachment
    * @apiGroup Attachment
    */
-  router.get('/limit', accessTokenParser, loginRequired, validator.retrieveFileLimit, apiV3FormValidator, async(req, res) => {
+  router.get('/limit', accessTokenParser, loginRequiredStrictly, validator.retrieveFileLimit, apiV3FormValidator, async(req, res) => {
     const { fileUploadService } = crowi;
     const fileSize = Number(req.query.fileSize);
     try {