ryoji-s 1 jaar geleden
bovenliggende
commit
341a514b82
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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;