fix mutation
This commit is contained in:
@@ -70,6 +70,8 @@ export class ServiceAndCategorySchema extends PothosSchema {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
}))
|
||||||
|
this.builder.mutationFields((t) => ({
|
||||||
createServiceAndCategory: t.prismaField({
|
createServiceAndCategory: t.prismaField({
|
||||||
type: this.serviceAndCategory(),
|
type: this.serviceAndCategory(),
|
||||||
args: {
|
args: {
|
||||||
|
|||||||
Reference in New Issue
Block a user