Skip to content

Commit c8182ee

Browse files
committed
Update github.py
1 parent 0bf72b6 commit c8182ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/src/pylinks/api/github.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def __init__(self, token: Optional[str] = None, timezone: str | None = "UTC"):
2929
self._token = token
3030
self._headers = {"X-GitHub-Api-Version": "2022-11-28"}
3131
if timezone:
32+
# https://docs.github.com/en/rest/using-the-rest-api/timezones-and-the-rest-api?apiVersion=2022-11-28
3233
self._headers["Time-Zone"] = timezone
3334
if self._token:
3435
self._headers["Authorization"] = f"Bearer {self._token}"

0 commit comments

Comments
 (0)