sdy

init deleteCategory

type Mutation {
deleteCategory(id: String!): Boolean!
}
import { prisma } from "../../../middlewares";
export default {
Mutation: {
deleteCategory: async (_, args) => {
const { id } = args;
},
},
};