From 48c8e0ea6623d4893b1c97d4620cca7e00ed102c Mon Sep 17 00:00:00 2001 From: Xor290 Date: Sun, 3 May 2026 21:18:57 +0200 Subject: [PATCH] chore: fix CI --- .github/workflows/frontend-client-build.yml | 2 +- mobile/src/api/client.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/frontend-client-build.yml b/.github/workflows/frontend-client-build.yml index 0d54f4c4..3bdeed9d 100644 --- a/.github/workflows/frontend-client-build.yml +++ b/.github/workflows/frontend-client-build.yml @@ -70,7 +70,7 @@ jobs: working-directory: mobile env: EAS_BUILD_NO_EXPO_GO_WARNING: true - run: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && --profile production || --profile preview }} eas build --platform android --profile production --non-interactive + run: eas build --platform android ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && '--profile production' || '--profile preview' }} --non-interactive - name: Download production APK working-directory: mobile diff --git a/mobile/src/api/client.ts b/mobile/src/api/client.ts index 445eb3ef..9b25dc01 100644 --- a/mobile/src/api/client.ts +++ b/mobile/src/api/client.ts @@ -13,7 +13,6 @@ const apiClient = axios.create({ }); apiClient.interceptors.request.use(async (config) => { - // Determine which token to use based on URL const isAdminRoute = config.url?.includes("/api/v2/") || config.url?.includes("/api/v1/cabine/") ||