Ulf Gebhardt 66b5e61c15
refactor(backend): test block & unblock user (#8879)
* queries

* test block users & small refactor on the resolver

* require 92% coverage (+2%)

* update according to review

* use cypher instead of neode
2025-09-10 18:26:28 +02:00

12 lines
158 B
TypeScript

import gql from 'graphql-tag'
export const blockUser = gql`
mutation ($id: ID!) {
blockUser(id: $id) {
id
name
isBlocked
}
}
`