From 8353db33ad95625ce623fc41647181613b6a82d5 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 15 Sep 2025 19:44:23 +0300 Subject: [PATCH] fix error when updating profile --- src/services/api/api.service.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index 85d1cc37c..219090890 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -226,7 +226,8 @@ const updateProfile = ({ credentials, params }) => { }) } else { if (typeof params[name] === 'object') { - console.warning('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.') + console.warn('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.') + console.warn('Object:\n' + JSON.stringify(params[name], null, 2)) } formData.append(name, params[name]); }