mirror of
https://github.com/wassname/talk.git
synced 2026-07-20 12:40:47 +08:00
editComment returns status of comment after edit. UI shows appropriate notifications if PREMOD or REJECTED
This commit is contained in:
@@ -794,7 +794,13 @@ input EditCommentInput {
|
||||
body: String!
|
||||
}
|
||||
|
||||
type CommentInfoAfterEdit {
|
||||
# New status of the edited comment
|
||||
status: COMMENT_STATUS!
|
||||
}
|
||||
|
||||
type EditCommentResponse implements Response {
|
||||
comment: CommentInfoAfterEdit!
|
||||
# An array of errors relating to the mutation that occured.
|
||||
errors: [UserError]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user