diff --git a/packages/client/scan/src/utils/createDefaultQuery.ts b/packages/client/scan/src/utils/createDefaultQuery.ts index b93e7969..32fbf36a 100644 --- a/packages/client/scan/src/utils/createDefaultQuery.ts +++ b/packages/client/scan/src/utils/createDefaultQuery.ts @@ -1,7 +1,7 @@ export function createGraphqlDefaultQuery(modelName: string, propertes: any[]) { return ` { - ${modelName.charAt(0).toLowerCase() + modelName.slice(1)}Index(first: 5) { + ${modelName.charAt(0).toLowerCase() + modelName.slice(1)}Index(last: 5) { edges { node { id,${propertes.map((p) => {