diff --git a/.github/workflows/finalize-round.yml b/.github/workflows/finalize-round.yml index eaa4e03f5..dd50ee54d 100644 --- a/.github/workflows/finalize-round.yml +++ b/.github/workflows/finalize-round.yml @@ -61,6 +61,7 @@ jobs: export SUBGRPAH_ID="${{ github.event.inputs.subgraph_id }}" export SUBGRAPH_QUERY=$(node -e 'console.log(`{"query":"{indexingStatuses(subgraphs: [\\\"${process.env.SUBGRAPH_ID}\\\"]) { chains { network }}}"}`)') export SUBGRAPH_STATUS=$(curl -s -X POST -d "$SUBGRAPH_QUERY" https://api.thegraph.com/index-node/graphql) + echo SUBGRAPH_STATUS=$SUBGRAPH_STATUS export NETWORK=$(node -e 'console.log(JSON.parse(process.env.SUBGRAPH_STATUS).data.indexingStatuses[0].chains[0].network)') echo $NETWORK export ROUND=$(curl -X POST -d '{"query":"{clrFunds {id currentRound {id maci maciTxHash}}}"}' $SUBGRPAH_URL)