Skip to content

Commit

Permalink
refactor: remove interval for custom ARS API
Browse files Browse the repository at this point in the history
  • Loading branch information
fudaylcavus committed Oct 31, 2024
1 parent 2e5bf84 commit 33d60b9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/data/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ const INTERVALS = [
timeKey: TIME_KEY.ALL,
value: DAY_IN_MS,
callback: updateRatesALL,
afterCallbacks: [updateRatesTRY, updateRatesARS],
afterCallbacks: [updateRatesTRY],
},
{
timeKey: TIME_KEY.TRY,
value: HOUR_IN_MS / 2,
callback: updateRatesTRY,
},
{
timeKey: TIME_KEY.ARS,
value: HOUR_IN_MS,
callback: updateRatesARS,
},
// TODO: Find new source for ARS, other one blocked with cloudflare
// {
// timeKey: TIME_KEY.ARS,
// value: HOUR_IN_MS,
// callback: updateRatesARS,
// },
];

0 comments on commit 33d60b9

Please sign in to comment.