mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 17:45:56 +08:00
Suspension response
This commit is contained in:
@@ -9,7 +9,7 @@ export default {
|
||||
'SetUserSuspensionStatusResponse',
|
||||
'SetCommentStatusResponse',
|
||||
'SuspendUserResponse',
|
||||
'SetUsernameStatusResponse',
|
||||
'SuspendUserResponse',
|
||||
'CreateCommentResponse',
|
||||
'CreateFlagResponse',
|
||||
'EditCommentResponse',
|
||||
|
||||
@@ -160,9 +160,9 @@ export const withSetCommentStatus = withMutation(
|
||||
|
||||
export const withSuspendUser = withMutation(
|
||||
gql`
|
||||
mutation SuspendUser($input: SetUserSuspensionStatusInput!) {
|
||||
setUserSuspensionStatus(input: $input) {
|
||||
...SetUserSuspensionStatusResponse
|
||||
mutation SuspendUser($input: SuspendUserInput!) {
|
||||
suspendUser(input: $input) {
|
||||
...SuspendUserResponse
|
||||
}
|
||||
}
|
||||
`, {
|
||||
|
||||
Reference in New Issue
Block a user