Skip to content

Commit

Permalink
fix start time
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Sep 10, 2024
1 parent 41356f2 commit 0677596
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dexs/drift-protocol/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ type IRequest = {
const requests: IRequest = {}

export async function fetchURLWithRetry(url: string, options: FetchOptions) {
const start = options.startOfDay;
if (!requests[url])
requests[url] = queryDune("4059377", {
start: options.startOfDay,
end: options.startOfDay + 24 * 60 * 60,
start: start,
end: start + 24 * 60 * 60,
})
return requests[url]
}
Expand Down

0 comments on commit 0677596

Please sign in to comment.