Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Dec 17, 2024
1 parent a4504cb commit a6f645c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/actions/getActiveVaults/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit a6f645c

Please sign in to comment.