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 a30dcf2 commit 04046a4Copy full SHA for 04046a4
management/lifecycle-v2.py
@@ -345,7 +345,7 @@ def add_card(self, item: PullRequest):
345
add_card_query = """
346
mutation($project_id: ID!, $content_id: ID!) {
347
addProjectV2ItemById(input: { projectId: $project_id, contentId: $content_id }) {
348
- projectV2Item {
+ item {
349
id
350
}
351
@@ -359,7 +359,7 @@ def add_card(self, item: PullRequest):
359
360
data = _post_query(add_card_query, variables)
361
print(data)
362
- card_id = data["data"]["addProjectV2ItemById"]["projectV2Item"]["id"]
+ card_id = data["data"]["addProjectV2ItemById"]["item"]["id"]
363
364
card = self._add_card_to_self(
365
card_id,
0 commit comments