kosei-n 2 лет назад
Родитель
Сommit
c553ae92f6
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      apps/app/src/server/routes/apiv3/page/create-page.ts

+ 0 - 3
apps/app/src/server/routes/apiv3/page/create-page.ts

@@ -10,8 +10,6 @@ import type { ValidationChain } from 'express-validator';
 import { body } from 'express-validator';
 import { body } from 'express-validator';
 import mongoose from 'mongoose';
 import mongoose from 'mongoose';
 
 
-// import { i18n } from '^/config/next-i18next.config';
-
 import { SupportedAction, SupportedTargetModel } from '~/interfaces/activity';
 import { SupportedAction, SupportedTargetModel } from '~/interfaces/activity';
 import type { IApiv3PageCreateParams } from '~/interfaces/apiv3';
 import type { IApiv3PageCreateParams } from '~/interfaces/apiv3';
 import { subscribeRuleNames } from '~/interfaces/in-app-notification';
 import { subscribeRuleNames } from '~/interfaces/in-app-notification';
@@ -92,7 +90,6 @@ type ReqBody = IApiv3PageCreateParams
 
 
 interface CreatePageRequest extends Request<undefined, ApiV3Response, ReqBody> {
 interface CreatePageRequest extends Request<undefined, ApiV3Response, ReqBody> {
   user: IUserHasId,
   user: IUserHasId,
-  t,
 }
 }
 
 
 type CreatePageHandlersFactory = (crowi: Crowi) => RequestHandler[];
 type CreatePageHandlersFactory = (crowi: Crowi) => RequestHandler[];