Showing
2 changed files
with
3 additions
and
3 deletions
1 | -import { ONE_TO_ONE_MESSAGE } from "../../../topics"; | 1 | +import { NEW_MESSAGE } from "../../../topics"; |
2 | 2 | ||
3 | export default { | 3 | export default { |
4 | Subscription: { | 4 | Subscription: { |
5 | subMessage: { | 5 | subMessage: { |
6 | subscribe: async (_, __, { pubsub }) => { | 6 | subscribe: async (_, __, { pubsub }) => { |
7 | - return pubsub.asyncIterator(ONE_TO_ONE_MESSAGE); | 7 | + return pubsub.asyncIterator(NEW_MESSAGE); |
8 | }, | 8 | }, |
9 | }, | 9 | }, |
10 | }, | 10 | }, | ... | ... |
-
Please register or login to post a comment