Skip to content

Commit f3f6e91

Browse files
committed
Fix QUERY_LOOKBACK units
1 parent f0a37e4 commit f3f6e91

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/partners/coinswitch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const asCoinSwitchResult = asObject({
3232
})
3333
})
3434
const COUNT = 25
35-
const QUERY_LOOKBACK = 60 * 60 * 24 * 5 // 5 days
35+
const QUERY_LOOKBACK = 1000 * 60 * 60 * 24 * 5 // 5 days
3636

3737
export async function queryCoinSwitch(
3838
pluginParams: PluginParams

src/partners/exolix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const asExolixResult = asObject({
6969
})
7070

7171
const PAGE_LIMIT = 100
72-
const QUERY_LOOKBACK = 60 * 60 * 24 * 3 // 3 days
72+
const QUERY_LOOKBACK = 1000 * 60 * 60 * 24 * 3 // 3 days
7373

7474
type ExolixTx = ReturnType<typeof asExolixTx>
7575
type ExolixStatus = ReturnType<typeof asExolixStatus>

src/partners/godex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type GodexTx = ReturnType<typeof asGodexTx>
6363
type GodexStatus = ReturnType<typeof asGodexStatus>
6464

6565
const LIMIT = 100
66-
const QUERY_LOOKBACK = 60 * 60 * 24 * 5 // 5 days
66+
const QUERY_LOOKBACK = 1000 * 60 * 60 * 24 * 5 // 5 days
6767
const statusMap: { [key in GodexStatus]: Status } = {
6868
success: 'complete',
6969
wait: 'pending',

src/partners/letsexchange.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type LetsExchangeTx = ReturnType<typeof asLetsExchangeTx>
6767
type LetsExchangeStatus = ReturnType<typeof asLetsExchangeStatus>
6868

6969
const LIMIT = 100
70-
const QUERY_LOOKBACK = 60 * 60 * 24 * 5 // 5 days
70+
const QUERY_LOOKBACK = 1000 * 60 * 60 * 24 * 5 // 5 days
7171
const statusMap: { [key in LetsExchangeStatus]: Status } = {
7272
success: 'complete',
7373
wait: 'pending',

0 commit comments

Comments
 (0)