Skip to content

Commit

Permalink
✨ circulating-exa: send origin header
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Jun 27, 2024
1 parent 99b4e06 commit e7934ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pages/api/circulating-exa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ async function withdrawableFromCategory(category: 'LockupLinear' | 'LockupDynami

do {
const query = getStreamsByCategory(exa.address.toLowerCase(), last, category);
const { streams } = await request<{ streams: Stream[] }>(subgraphUrl, query);
const { streams } = await request<{ streams: Stream[] }>(
subgraphUrl,
query,
{},
{ origin: 'https://app.exact.ly' },
);
if (category === 'LockupLinear') {
totalWithdrawable += (
await client.multicall({
Expand Down

0 comments on commit e7934ee

Please sign in to comment.