ryoji-s 1 년 전
부모
커밋
341a514b82
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/app/src/server/routes/apiv3/page/create-page.ts

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

@@ -44,7 +44,7 @@ async function generateUntitledPath(parentPath: string, basePathname: string, in
   return path;
 }
 
-async function determinePath(req: any, _parentPath?: string, _path?: string, optionalParentPath?: string): Promise<string> {
+async function determinePath(req: CreatePageRequest, _parentPath?: string, _path?: string, optionalParentPath?: string): Promise<string> {
   const user = req.user;
   const headers = req.headers;