Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -4,7 +4,7 @@ export default { | ... | @@ -4,7 +4,7 @@ export default { |
4 | Message: { | 4 | Message: { |
5 | sender: (parent) => | 5 | sender: (parent) => |
6 | prisma.message.findOne({ where: { id: parent.id } }).sender(), | 6 | prisma.message.findOne({ where: { id: parent.id } }).sender(), |
7 | - room: (parent) => | 7 | + group: (parent) => |
8 | - prisma.message.findOne({ where: { id: parent.id } }).room(), | 8 | + prisma.message.findOne({ where: { id: parent.id } }).group(), |
9 | }, | 9 | }, |
10 | }; | 10 | }; | ... | ... |
-
Please register or login to post a comment