diff --git a/.github/actions/getActiveVaults/action.yml b/.github/actions/getActiveVaults/action.yml index 95607c9c..ef2ebe37 100644 --- a/.github/actions/getActiveVaults/action.yml +++ b/.github/actions/getActiveVaults/action.yml @@ -20,10 +20,11 @@ runs: - name: Fetch Active Vaults shell: bash run: | - result=$(curl -s -X POST "${{ inputs.apiUrl }}" \ - -H 'Content-Type: application/json' \ - -H 'Accept: application/json' \ - --data-raw '{"query":"query { vaults(filter: {state: {equalTo: \\"active\\"}}) { totalCount } }"}') + sleep 180 + result=$(curl -s -X POST http://localhost:3000/ \ + -H 'Content-Type: application/json' \ + -H 'Accept: application/json' \ + --data-raw '{"query":"query { vaults(filter: {state: {equalTo: \"active\"}}) { totalCount } }"}') activeVaults=$(echo $result | jq -r '.data.vaults.totalCount')