Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -3,7 +3,7 @@ import { prisma } from "../../../utils"; | ... | @@ -3,7 +3,7 @@ import { prisma } from "../../../utils"; |
3 | export default { | 3 | export default { |
4 | Mutation: { | 4 | Mutation: { |
5 | deleteCategory: async (_, args) => { | 5 | deleteCategory: async (_, args) => { |
6 | - const { id } = args; | 6 | + const { name } = args; |
7 | }, | 7 | }, |
8 | }, | 8 | }, |
9 | }; | 9 | }; | ... | ... |
-
Please register or login to post a comment