Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -2,7 +2,7 @@ import { prisma, isAuthenticated } from "../../../utils"; | ... | @@ -2,7 +2,7 @@ import { prisma, isAuthenticated } from "../../../utils"; |
2 | 2 | ||
3 | export default { | 3 | export default { |
4 | Mutation: { | 4 | Mutation: { |
5 | - wholeMessage: async (_, args, { request }) => { | 5 | + createMessage: async (_, args, { request }) => { |
6 | isAuthenticated(request); | 6 | isAuthenticated(request); |
7 | const { user } = request; | 7 | const { user } = request; |
8 | const { message, roomId } = args; | 8 | const { message, roomId } = args; | ... | ... |
-
Please register or login to post a comment