diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-12-05 07:23:15 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-06 19:06:35 +0800 |
commit | 4a5b72a5abadeed27b788c37cf669c51a090a86e (patch) | |
tree | daa818d4a0f7196b94dd3a8a2a193e67146ca141 | |
parent | 2d6c46b83c67401fcae01e2e98e9755463a3c71a (diff) | |
download | dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.tar.gz dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.tar.zst dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.zip |
Fix linter
-rw-r--r-- | packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts b/packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts index b02468e9b..7868e9c5a 100644 --- a/packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts +++ b/packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts @@ -27,7 +27,7 @@ let connection: Connection; await Promise.all( marketsChunk.map(async (market: DdexMarket) => getAndSaveMarketOrderbook(ddexSource, market)), ); - await new Promise(resolve => setTimeout(resolve, MILLISEC_MARKET_ORDERBOOK_REQUEST_DELAY)); + await new Promise<void>(resolve => setTimeout(resolve, MILLISEC_MARKET_ORDERBOOK_REQUEST_DELAY)); } process.exit(0); })().catch(handleError); |