update pagination

This commit is contained in:
2024-10-17 19:06:51 +07:00
parent 9326485258
commit 8817f961a8
13 changed files with 45 additions and 15 deletions

View File

@@ -111,7 +111,7 @@ export class ServiceSchema extends PothosSchema {
...query,
where: args.filter ?? undefined,
orderBy: args.orderBy ?? undefined,
skip: args.skip ?? 0,
skip: args.skip ?? undefined,
take: args.take ?? 10,
});
},