Explorar o código

Fixed linting Unexpected parentheses around single function argument having a body with no curly braces arrow-parens

hakumizuki %!s(int64=5) %!d(string=hai) anos
pai
achega
e926228ab5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/middlewares/link-sharing-required.js

+ 1 - 1
src/server/middlewares/link-sharing-required.js

@@ -3,7 +3,7 @@ const ErrorV3 = require('../models/vo/error-apiv3');
 
 const logger = loggerFactory('growi:middleware:link-sharing-required');
 
-module.exports = (crowi) => (req, res, next) => {
+module.exports = crowi => (req, res, next) => {
   const isLinkSharingDisabled = crowi.configManager.getConfig('crowi', 'security:disableLinkSharing');
   logger.debug(`isLinkSharingDisabled: ${isLinkSharingDisabled}`);