From 0ad59d9412dae31b67f0ac80547d11901e9d40e4 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 10 Jul 2023 16:27:36 +0200 Subject: [PATCH] lint fix --- webapp/components/Chat/Chat.vue | 6 +++--- webapp/graphql/Messages.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index d3fe9c4d5..cca030387 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -155,16 +155,16 @@ export default { }, refetchMessage(roomId) { - this.fetchMessages({room: this.rooms.find((r) => r.roomId === roomId)}) + this.fetchMessages({ room: this.rooms.find((r) => r.roomId === roomId) }) }, async sendMessage(message) { try { - const result = await this.$apollo.mutate({ + await this.$apollo.mutate({ mutation: createMessageMutation(), variables: { roomId: message.roomId, - content: message.content + content: message.content, }, }) } catch (error) { diff --git a/webapp/graphql/Messages.js b/webapp/graphql/Messages.js index 852919a8c..41d647d4b 100644 --- a/webapp/graphql/Messages.js +++ b/webapp/graphql/Messages.js @@ -25,4 +25,4 @@ export const createMessageMutation = () => { } } ` -} \ No newline at end of file +}