Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xngmi committed Aug 23, 2024
1 parent 49f12e4 commit 107118d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dexs/gmx-v2/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ interface IGraphResponse {
const getFetch = (query: string)=> (chain: string): Fetch => async (timestamp: number) => {
const dayTimestamp = getUniqStartOfTodayTimestamp(new Date((timestamp * 1000)))
const dailyData: IGraphResponse = await request(endpoints[chain], query, {
id: '1d:' + chain === CHAIN.ARBITRUM
? String(dayTimestamp)
: String(dayTimestamp),
id: '1d:' + String(dayTimestamp),
period: '1d',
})
const totalData: IGraphResponse = await request(endpoints[chain], query, {
Expand Down

0 comments on commit 107118d

Please sign in to comment.