Update graphql.js

This commit is contained in:
Stripes
2022-10-27 09:10:34 +03:00
committed by GitHub
parent 952fff14f8
commit e914a9db2b
+1 -1
View File
@@ -90,7 +90,7 @@ const closeIssue = (postId) => {
// also adds label "very low score"
return request(
`mutation {
updateIssue(input: {id : "${postId}" , state: CLOSED, labelIds: ["LA_kwDOFVUyTM8AAAABGbO_Bw"] }){
updateIssue(input: {id : "${postId}" , state: CLOSED${config['label-id-for-close-issues'] ? ', labelIds: ["' + config['label-id-for-close-issues'] + '"]' : ''} }){
issue {
id
title