瀏覽代碼

fix lint error

Shun Miyazawa 1 年之前
父節點
當前提交
7aa7dba6a1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/app/src/server/routes/apiv3/personal-setting/index.js

+ 1 - 1
apps/app/src/server/routes/apiv3/personal-setting/index.js

@@ -495,7 +495,7 @@ module.exports = (crowi) => {
    *                     type: string
    *                     type: string
    *                     description: description of access token
    *                     description: description of access token
    *                   scope:
    *                   scope:
-   *                     type: string[]
+   *                     type: array
    *                     description: scope of access token
    *                     description: scope of access token
    */
    */
   router.post('/access-token', accessTokenParser([SCOPE.WRITE.USER_SETTINGS.API.ACCESS_TOKEN]), generateAccessTokenHandlerFactory(crowi));
   router.post('/access-token', accessTokenParser([SCOPE.WRITE.USER_SETTINGS.API.ACCESS_TOKEN]), generateAccessTokenHandlerFactory(crowi));