sdy

remove getUser

type Query {
getUser(id: Int!): User!
}
import { prismaClient } from "../../../middlewares";
export default {
Query: {
getUser: async (_, args) => {
const { id } = args;
return prismaClient.user.findOne({
where: {
id,
},
});
},
},
};