Skip to content

Commit

Permalink
fix query variable
Browse files Browse the repository at this point in the history
  • Loading branch information
SD-13 committed Aug 15, 2023
1 parent bc0ed95 commit e541194
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/github_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ def _get_discussion_data(
discussion number.
"""

# The following query is written in GraphQL and is being used to fetch the
# category ids and titles from GitHub discussions. To learn more, check this out
# The following query is written in GraphQL and is being used to fetch the category
# ids and titles from the GitHub discussions. To learn more, check this out
# https://docs.github.com/en/graphql.
query = """
query ($org_name: String!, $repository: String!) {
Expand Down Expand Up @@ -279,7 +279,7 @@ def _get_discussion_data(
variables = {
'org_name': org_name,
'repository': repo_name,
'category_id': 'DIC_kwDOAmzXy84CYcS1'
'category_id': category_id
}

response = requests.post(
Expand Down

0 comments on commit e541194

Please sign in to comment.