Skip to content

Commit

Permalink
fix(github): fix bug that github api client returns cached result
Browse files Browse the repository at this point in the history
  • Loading branch information
async3619 committed Dec 13, 2022
1 parent 3e91e03 commit 3dc63b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/watchers/github/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export class GitHubWatcher extends BaseWatcher<"GitHub"> {
this.client = createClient({
url: "https://api.github.com/graphql",
fetch: nodeFetch as unknown as typeof fetch,
requestPolicy: "network-only",
fetchOptions: () => {
return {
method: "POST",
Expand Down

0 comments on commit 3dc63b9

Please sign in to comment.