Skip to content

Commit

Permalink
Merge branch 'main' into update-time-in-draft
Browse files Browse the repository at this point in the history
  • Loading branch information
zkoppert authored Dec 1, 2024
2 parents 7429d77 + c0b6fb2 commit aff7091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discussions.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_discussions(token: str, search_query: str, ghe: str):
variables = {"query": search_query}

# Send the GraphQL request
api_endpoint = f"{ghe}/api/v3" if ghe else "https://api.github.com"
api_endpoint = f"{ghe}/api" if ghe else "https://api.github.com"
headers = {"Authorization": f"Bearer {token}"}
response = requests.post(
f"{api_endpoint}/graphql",
Expand Down

0 comments on commit aff7091

Please sign in to comment.