sdy

init exitRoom

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