Showing
1 changed file
with
0 additions
and
2 deletions
1 | import { isAuthenticated, prisma } from "../../../utils"; | 1 | import { isAuthenticated, prisma } from "../../../utils"; |
2 | import { ONE_TO_ONE_MESSAGE } from "../../../topics"; | 2 | import { ONE_TO_ONE_MESSAGE } from "../../../topics"; |
3 | 3 | ||
4 | -// newMessage 에서는 1:1, 1:n 메시지 방만 가정하고 있음 | ||
5 | -// 나머지 랜덤채팅은 아직 구상중 (5/4) 기준 | ||
6 | export default { | 4 | export default { |
7 | Mutation: { | 5 | Mutation: { |
8 | newMessage: async (_, args, { request, pubsub }) => { | 6 | newMessage: async (_, args, { request, pubsub }) => { | ... | ... |
-
Please register or login to post a comment