mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
lint fix
This commit is contained in:
parent
aecc24e374
commit
0ad59d9412
@ -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) {
|
||||
|
||||
@ -25,4 +25,4 @@ export const createMessageMutation = () => {
|
||||
}
|
||||
}
|
||||
`
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user