From 3e4e15f40c0509ee4440831830cb85b3c0bd6814 Mon Sep 17 00:00:00 2001 From: OlaStenberg Date: Wed, 7 Aug 2024 13:21:11 +0200 Subject: [PATCH] chore(packages/graph-client): update request header for day buckets --- .../src/subgraphs/data-api/queries/analytics/day-buckets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/graph-client/src/subgraphs/data-api/queries/analytics/day-buckets.ts b/packages/graph-client/src/subgraphs/data-api/queries/analytics/day-buckets.ts index 96426f7004..66999eff20 100644 --- a/packages/graph-client/src/subgraphs/data-api/queries/analytics/day-buckets.ts +++ b/packages/graph-client/src/subgraphs/data-api/queries/analytics/day-buckets.ts @@ -37,7 +37,7 @@ export async function getAnalyticsDayBuckets( const url = `https://${SUSHI_DATA_API_HOST}` const result = await request( - { url, document: AnalyticsDayBucketsQuery, variables }, + { url, document: AnalyticsDayBucketsQuery, variables, requestHeaders: { 'Origin': 'sushi.com' } }, options, ) if (result) {