From e50d7cb4f3f3a503925038bf094951e5b4a8484a Mon Sep 17 00:00:00 2001 From: ConjunctiveNormalForm Date: Tue, 24 Oct 2023 00:06:01 -0400 Subject: [PATCH] reenable --- lib/quoters/WebhookQuoter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/quoters/WebhookQuoter.ts b/lib/quoters/WebhookQuoter.ts index b3ab55dc..e41ab0d4 100644 --- a/lib/quoters/WebhookQuoter.ts +++ b/lib/quoters/WebhookQuoter.ts @@ -4,10 +4,10 @@ import axios, { AxiosError, AxiosResponse } from 'axios'; import Logger from 'bunyan'; import { v4 as uuidv4 } from 'uuid'; -import { Quoter, QuoterType } from '.'; import { Metric, metricContext, QuoteRequest, QuoteResponse } from '../entities'; import { WebhookConfiguration, WebhookConfigurationProvider } from '../providers'; import { CircuitBreakerConfigurationProvider } from '../providers/circuit-breaker'; +import { Quoter, QuoterType } from '.'; // TODO: shorten, maybe take from env config const WEBHOOK_TIMEOUT_MS = 500; @@ -22,7 +22,7 @@ export class WebhookQuoter implements Quoter { _log: Logger, private webhookProvider: WebhookConfigurationProvider, private circuitBreakerProvider: CircuitBreakerConfigurationProvider, - _allow_list: Set = new Set() + _allow_list: Set = new Set(['Altonomy']) ) { this.log = _log.child({ quoter: 'WebhookQuoter' }); this.ALLOW_LIST = _allow_list;