sdy

init deleteCategory

1 +type Mutation {
2 + deleteCategory(id: String!): Boolean!
3 +}
1 +import { prisma } from "../../../middlewares";
2 +
3 +export default {
4 + Mutation: {
5 + deleteCategory: async (_, args) => {
6 + const { id } = args;
7 + },
8 + },
9 +};