From 7e5c0f3d6b168568aa999623fe3cf1f03c7520ed Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 8 Jul 2021 11:05:18 +0200 Subject: [PATCH 1/2] fix: Do Not Pass Userdata Description to Server --- frontend/src/apis/loginAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/apis/loginAPI.js b/frontend/src/apis/loginAPI.js index f71e7634f..feb6bda06 100644 --- a/frontend/src/apis/loginAPI.js +++ b/frontend/src/apis/loginAPI.js @@ -93,7 +93,7 @@ const loginAPI = { update: { 'User.first_name': data.firstName, 'User.last_name': data.lastName, - 'User.description': data.description, + //'User.description': data.description, }, } return apiPost(CONFIG.LOGIN_API_URL + 'updateUserInfos', payload) From 1be323c1450c4e01ce3e1b2fb9c375eea84236fe Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 8 Jul 2021 11:11:47 +0200 Subject: [PATCH 2/2] linting --- frontend/src/apis/loginAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/apis/loginAPI.js b/frontend/src/apis/loginAPI.js index feb6bda06..9dd8ce98d 100644 --- a/frontend/src/apis/loginAPI.js +++ b/frontend/src/apis/loginAPI.js @@ -93,7 +93,7 @@ const loginAPI = { update: { 'User.first_name': data.firstName, 'User.last_name': data.lastName, - //'User.description': data.description, + // 'User.description': data.description, }, } return apiPost(CONFIG.LOGIN_API_URL + 'updateUserInfos', payload)