From a6f645c7fcfc52e7ccc09c85d8935a6a7c1a03ec Mon Sep 17 00:00:00 2001 From: rabi-siddique Date: Tue, 17 Dec 2024 16:39:53 +0500 Subject: [PATCH] debug --- .github/actions/getActiveVaults/action.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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')