diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js index 219090890..85d1cc37c 100644 --- a/src/services/api/api.service.js +++ b/src/services/api/api.service.js @@ -226,8 +226,7 @@ const updateProfile = ({ credentials, params }) => { }) } else { if (typeof params[name] === 'object') { - 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)) + console.warning('Object detected in updateProfile API call. This will not work, use updateProfileJSON instead.') } formData.append(name, params[name]); }