diff --git a/src/ServiceAndCategory/serviceandcategory.schema.ts b/src/ServiceAndCategory/serviceandcategory.schema.ts index 2706cbe..48ecc37 100644 --- a/src/ServiceAndCategory/serviceandcategory.schema.ts +++ b/src/ServiceAndCategory/serviceandcategory.schema.ts @@ -70,6 +70,8 @@ export class ServiceAndCategorySchema extends PothosSchema { }) }, }), + })) + this.builder.mutationFields((t) => ({ createServiceAndCategory: t.prismaField({ type: this.serviceAndCategory(), args: {