sdy

remove editCategory

1 -type Mutation {
2 - editCategory(name: String!): Category!
3 -}
1 -import { prisma } from "../../../utils";
2 -
3 -export default {
4 - Mutation: {
5 - editCategory: async (_, args) => {
6 - const { name } = args;
7 - },
8 - },
9 -};