9h sang tao code tiep
This commit is contained in:
@@ -50,7 +50,7 @@ export class ServiceAndCategorySchema extends PothosSchema {
|
||||
return await this.prisma.serviceAndCategory.findMany({
|
||||
...query,
|
||||
skip: args.skip ?? undefined,
|
||||
take: args.take ?? 10,
|
||||
take: args.take ?? undefined,
|
||||
orderBy: args.orderBy ?? undefined,
|
||||
where: args.filter ?? undefined,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user