Respect --token argument on github too #79

Merged
6543 merged 3 commits from refs/pull/79/head into main 2023-06-23 17:20:49 +00:00
6543 commented 2023-06-23 12:30:37 +00:00 (Migrated from gitea.com)
No description provided.
jolheiser commented 2023-06-23 13:03:55 +00:00 (Migrated from gitea.com)

Can this code be merged with the httpClient func in functionality?

Can this code be merged with the `httpClient` func in functionality?
6543 commented 2023-06-23 14:08:44 +00:00 (Migrated from gitea.com)

@jolheiser more refactored

@jolheiser more refactored
jolheiser (Migrated from gitea.com) approved these changes 2023-06-23 14:59:35 +00:00
delvh (Migrated from gitea.com) approved these changes 2023-06-23 15:01:34 +00:00
jolheiser (Migrated from gitea.com) reviewed 2023-06-23 15:01:52 +00:00
@ -194,3 +132,4 @@
cl := http.DefaultClient
if token != "" {
ts := oauth2.StaticTokenSource(
jolheiser (Migrated from gitea.com) commented 2023-06-23 15:01:52 +00:00

This should used the passed in ctx instead.

This should used the passed in `ctx` instead.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/changelog#79
No description provided.