sdy

init editCategory

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