From 2c3437a870dfd06fef14047ca18248ba91bea67a Mon Sep 17 00:00:00 2001 From: Josh Whittick <92024297+joshwhittick@users.noreply.github.com> Date: Wed, 6 Aug 2025 16:34:55 +0100 Subject: [PATCH] Update fetch.yml Remove BTC, Silver, Gold, Palladium, Platinum (XAG", "XAU", "XPD", "XPT") --- .github/workflows/fetch.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fetch.yml b/.github/workflows/fetch.yml index 8b80cba19..3102e6f3d 100644 --- a/.github/workflows/fetch.yml +++ b/.github/workflows/fetch.yml @@ -35,7 +35,9 @@ jobs: run: python fetch-rates.py - name: Fetch fiat - run: curl -X GET "https://openexchangerates.org/api/latest.json?app_id=$APP_ID" --output core/data/src/main/assets/fiat-rates.json + run: | + curl -s -X GET "https://openexchangerates.org/api/latest.json?app_id=$APP_ID" | + jq ' .rates |= with_entries(select(.key | IN("BTC", "XAG", "XAU", "XPD", "XPT") | not)) ' > core/data/src/main/assets/fiat-rates.json - name: Check if APP_ID secret is set run: |