Skip to content

Commit

Permalink
Merge pull request #1758 from Dongminh1997/magpie
Browse files Browse the repository at this point in the history
Update data endpoint
  • Loading branch information
dtmkeng committed Aug 9, 2024
2 parents 6d51706 + b1d5f0c commit 6b62c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregators/magpie/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CHAIN } from "../../helpers/chains";
const fetch = async (timestamp: number, _: ChainBlocks, {chain}: FetchOptions): Promise<FetchResult> => {
const unixTimestamp= getTimestampAtStartOfDayUTC(timestamp)
console.log(chain, unixTimestamp)
const data = await postURL(`https://nj4rp6s90f.execute-api.us-west-1.amazonaws.com/v1/llama`, {timestamp: unixTimestamp, chain:chain}, 10);
const data = await postURL(`https://prewimvk04.execute-api.us-west-1.amazonaws.com/prod/llama`, {timestamp: unixTimestamp, chain:chain}, 10);
const chainData = data.result
if (chainData === undefined ) {
return {
Expand Down

0 comments on commit 6b62c8c

Please sign in to comment.