sdy

init editCategory

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