Răsfoiți Sursa

fix lint errors

Yuki Takei 3 ani în urmă
părinte
comite
299bb87b17

+ 1 - 1
packages/remark-lsx/src/server/index.ts

@@ -6,7 +6,7 @@ const loginRequiredFallback = (req, res) => {
 
 
 // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
 // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/no-explicit-any
 const middleware = (crowi: any, app: any): void => {
 const middleware = (crowi: any, app: any): void => {
-  const lsx = routesFactory(crowi, app);
+  const lsx = routesFactory(crowi);
 
 
   const loginRequired = crowi.require('../middlewares/login-required')(crowi, true, loginRequiredFallback);
   const loginRequired = crowi.require('../middlewares/login-required')(crowi, true, loginRequiredFallback);
   const accessTokenParser = crowi.require('../middlewares/access-token-parser')(crowi);
   const accessTokenParser = crowi.require('../middlewares/access-token-parser')(crowi);

+ 1 - 1
packages/remark-lsx/src/server/routes/lsx.ts

@@ -168,7 +168,7 @@ class Lsx {
 }
 }
 
 
 // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
 // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
-export const routesFactory = (crowi, app): any => {
+export const routesFactory = (crowi): any => {
   const Page = crowi.model('Page');
   const Page = crowi.model('Page');
   const actions: any = {};
   const actions: any = {};