Skip to content

Commit

Permalink
fix(tasks): fix patreon unauthorized bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Nov 19, 2023
1 parent f9d31f4 commit 99e7c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tasks/src/jobs/refreshPatrons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class RefreshPatrons extends TaskJob {
'fields[user]': 'social_connections',
...(cursor ? { 'page[cursor]': cursor } : {})
});
const response = await axios.get(`https://patreon.com/api/oauth2/v2/campaigns/${patreonConfig.campaignId}/members?${query}`, {
const response = await axios.get(`https://www.patreon.com/api/oauth2/v2/campaigns/${patreonConfig.campaignId}/members?${query}`, {
headers: {
Authorization: `Bearer ${credentials.accessToken}`,
'User-Agent': this.userAgent
Expand Down

0 comments on commit 99e7c0e

Please sign in to comment.