Skip to content

Commit

Permalink
Update update_discussion.py
Browse files Browse the repository at this point in the history
  • Loading branch information
codycooperross authored Jul 26, 2024
1 parent e59b1ea commit 02b6535
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/update_discussion.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ def get_label_id(label_name):
def get_discussion_id(discussion_number):
owner = GITHUB_REPOSITORY.split('/')[0]
name = GITHUB_REPOSITORY.split('/')[1]
query = """
query = f"""
{
repository(owner: "datacite", name: "datacite-suggestions") {
discussion(number: 45) {
repository(owner: "{owner}", name: "{name}") {
discussion(number: {discussion_number}) {
id
}
}
Expand Down

0 comments on commit 02b6535

Please sign in to comment.