Skip to content

Commit

Permalink
fix(octokit): fix type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
kishore03109 committed Jun 25, 2024
1 parent 10a5bd9 commit 527c853
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/monitoring/MonitoringWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,11 @@ export default class MonitoringWorker {
* @returns List of redirection domains that are listed in the isomer-redirection repository
*/
getRedirectionDomains() {
const OctokitRetry = Octokit.plugin(retry)
const REDIRECTION_REPO_GITHUB_TOKEN = config.get(
"github.redirectionRepoGithubToken"
)

const OctokitRetry = Octokit.plugin(retry)
const octokitWithRetry: Octokit = new OctokitRetry({
auth: REDIRECTION_REPO_GITHUB_TOKEN,
request: { retries: 5 },
Expand Down Expand Up @@ -177,7 +178,7 @@ export default class MonitoringWorker {
driver() {
const gb = getNewGrowthbookInstance({
clientKey: config.get("growthbook.clientKey"),
subscribeToChanges: true,
subscribeToChanges: false,
})
const monitoringConfig = getMonitoringConfig(gb)
if (!monitoringConfig.isEnabled) {
Expand Down

0 comments on commit 527c853

Please sign in to comment.