Skip to content

Commit

Permalink
feat: unneeded hear was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
scientiststwin committed Dec 15, 2023
1 parent c174a10 commit 4abba63
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dags/github_api_helpers/pull_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,8 @@ def fetch_comment_reactions(
:return: A list of reactions for the specified issue comment.
"""
endpoint = f"https://api.github.com/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"
headers = {
"Accept": "application/vnd.github.squirrel-girl-preview+json"
} # Custom media type is required
params = {"page": page, "per_page": per_page}
response = get(endpoint, headers=headers, params=params)
response = get(endpoint, params=params)
return response.json()


Expand Down

0 comments on commit 4abba63

Please sign in to comment.