Ver Fonte

add type

ryoji-s há 1 ano atrás
pai
commit
341a514b82
1 ficheiros alterados com 1 adições e 1 exclusões
  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;