Commit e9bcdccd authored by Yannis Barlas's avatar Yannis Barlas
Browse files

fix(editor panel): fix chat messages being written on all manuscripts

parent 07b61907
......@@ -169,7 +169,7 @@ const sendChat = async (_, variables, context) => {
chat.push(newMessage)
await Manuscript.query().patch({ communicationHistory: chat })
await manuscript.$query().patch({ communicationHistory: chat })
notify('chat', {
manuscriptId,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment