Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed May 16, 2022
1 parent 45d703e commit 517cdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/create-draft/src/on-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const closeIssues = async (options: { issueIds: string[]; closedLabelIds:
authorization: `token ${options.GITHUB_TOKEN}`
}
});
const QUERY = `mutation CloseMutation($labelIds: [String!]) {
const QUERY = `mutation CloseMutation($labelIds: [ID!]) {
${options.issueIds.map((issueId, index) => {
return `req${index}: updateIssue(input: { id: "${issueId}", labelIds: $labelIds, state: CLOSED }){
issue {
Expand Down

0 comments on commit 517cdec

Please sign in to comment.