Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 38e6200

Browse files
committed
Some GraphQL typos
1 parent 3da23b5 commit 38e6200

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

actions/auto-sprint/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ Toolkit.run(async tools => {
6060

6161
// Add the issue/pull request to the sprint board
6262
await tools.github.graphql(`
63-
mutation ProjectCardAddition($columnID: ID!, contentID: ID!) {
64-
addProjectCard(input: {projectColumnId: $columnID, contentID: $issueishID}) {
63+
mutation ProjectCardAddition($columnID: ID!, $issueishID: ID!) {
64+
addProjectCard(input: {projectColumnId: $columnID, contentId: $issueishID}) {
6565
clientMutationId
6666
}
6767
}
6868
`, {
6969
columnID: column.id,
70-
contentID: tools.context.event === 'issues'
70+
issueishID: tools.context.event === 'issues'
7171
? tools.context.payload.issue.node_id
7272
: tools.context.payload.pull_request.node_id,
7373
});

0 commit comments

Comments
 (0)