mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-01-13 09:10:06 +08:00
* Add alert action to delete comments, add viewerCanDelete variable [skip ci] * Add delete confirmation message * Enable networking for deleting comments * Updates as per @BasThomas feedback * Update comment, oops
14 lines
294 B
GraphQL
14 lines
294 B
GraphQL
mutation AddComment($subject_id: ID!, $body: String!) {
|
|
addComment(input:{subjectId: $subject_id, body: $body}) {
|
|
commentEdge {
|
|
node {
|
|
...nodeFields
|
|
...reactionFields
|
|
...commentFields
|
|
...updatableFields
|
|
...deletableFields
|
|
}
|
|
}
|
|
}
|
|
}
|