Skip to content

Commit

Permalink
fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Oct 18, 2024
1 parent 665329f commit 28f51c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dexs/myx-finance/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const methodology = {
DailyVolume: "Daily Volume from the sum of the open/close/liquidation of positions.",
}

const getFetch = async (optios: FetchOptions) => {
const result = await fetchURL(endpoints[optios.chain])
const getFetch = async (_t: any, _tts: any, options: FetchOptions) => {
const result = await fetchURL(endpoints[options.chain])

const dayTimestamp = getUniqStartOfTodayTimestamp(new Date((optios.endTimestamp * 1000)))
const dayTimestamp = getUniqStartOfTodayTimestamp(new Date((options.endTimestamp * 1000)))
const volume = result.data.reduce((acc, item) => {
return acc + (item?.target_volume || 0)
}, 0)
Expand Down

0 comments on commit 28f51c2

Please sign in to comment.