fix mutation

This commit is contained in:
2024-11-11 18:59:12 +07:00
parent e0a8b0aaa0
commit 22bc231409

View File

@@ -70,6 +70,8 @@ export class ServiceAndCategorySchema extends PothosSchema {
})
},
}),
}))
this.builder.mutationFields((t) => ({
createServiceAndCategory: t.prismaField({
type: this.serviceAndCategory(),
args: {