Skip to content

Commit

Permalink
feat: add delete chat mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielCarames committed Nov 14, 2022
1 parent 9c2bf23 commit e80f1bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/graphql/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,8 @@ export const CREATE_GROUP = gql`
}
}
`
export const DELETE_CHAT = gql`
mutation DELETE_CHAT($chatId: ID!) {
deleteChat(chatId: $chatId)
}
`

0 comments on commit e80f1bc

Please sign in to comment.