We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68fa5af commit c7399a4Copy full SHA for c7399a4
1 file changed
image/src/github_pr_comment/comment.py
@@ -398,13 +398,13 @@ def hide_comment(
398
399
response = github.post(
400
graphql_url, json={
401
- 'query': '''
402
- mutation {
403
- minimizeComment(input: {subjectId: "''' + comment.node_id + '''", classifier: ''' + classifier + '''}) {
404
- clientMutationId
405
- }
+ 'query': 'mutation($input: MinimizeCommentInput!) { minimizeComment(input: $input) { clientMutationId } }',
+ 'variables': {
+ 'input': {
+ 'subjectId': comment.node_id,
+ 'classifier': classifier
406
}
407
- '''
+ }
408
409
)
410
debug(f'graphql response: {response.content}')
0 commit comments