diff --git a/src/remote/factory.ts b/src/remote/factory.ts index 81fb503b..b83451f0 100644 --- a/src/remote/factory.ts +++ b/src/remote/factory.ts @@ -119,7 +119,7 @@ export function createMenu(res: StrapiMenu): IMenu[] { }, ...items] } -export async function createPage(res: StrapiPage | StrapiPage[]): IPage | null { +export async function createPage(res: StrapiPage | StrapiPage[]): Promise { const item = asItem(res) if (!item) { return null