Skip to content

Commit

Permalink
fix version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dtmkeng committed Apr 29, 2024
1 parent 10e1336 commit fd3912a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dexs/glowswap/index.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { SimpleAdapter } from "../../adapters/types"
import { httpGet } from "../../utils/fetchURL"

const fetch = async (timestamp: number) => {
const fetch = async () => {
const url = "https://api.glowswap.io/v1/analytics"
const response = await httpGet(url)
const dailyVolume = response.data.volUSD.day;
return {
dailyVolume,
timestamp
}
}
const adapter: SimpleAdapter = {
version: 2,
adapter: {
bsquared: {
fetch,
Expand Down

0 comments on commit fd3912a

Please sign in to comment.