From b1d5f0c2c58854931ef6db02ccdae7388ea14fd9 Mon Sep 17 00:00:00 2001 From: Dongminh1997 Date: Fri, 9 Aug 2024 00:25:57 +0700 Subject: [PATCH] Update data endpoint --- aggregators/magpie/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aggregators/magpie/index.ts b/aggregators/magpie/index.ts index a633797290..4c0f876f1d 100644 --- a/aggregators/magpie/index.ts +++ b/aggregators/magpie/index.ts @@ -6,7 +6,7 @@ import { CHAIN } from "../../helpers/chains"; const fetch = async (timestamp: number, _: ChainBlocks, {chain}: FetchOptions): Promise => { 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 {