From a5d074d8c2bc0206bc62aec630db570cd73066ac Mon Sep 17 00:00:00 2001 From: Peter Savchenko Date: Sun, 13 Oct 2024 01:24:15 +0300 Subject: [PATCH] Update index.ts --- src/api/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 4c8be240a..8f0c49046 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -180,9 +180,9 @@ export async function callOld( console.error('API Request Error', error); track(error as Error, { - request, - variables: variables ?? {}, - response: response?.data, + 'Request': request, + 'Variables': variables ?? {}, + 'Response Data': response?.data.data, }); throw error; }