Fix load of empty users

This commit is contained in:
Paulo Gustavo Veiga 2021-02-07 10:14:03 -08:00
parent 40e89a58d4
commit 197ce17af1

View File

@ -20,8 +20,8 @@ export default class RestClient implements Client {
).then(response => { ).then(response => {
const account = response.data; const account = response.data;
success({ success({
lastName: account.lastName, lastName: account.lastName ? account.lastName : '',
firstName: account.fistName, firstName: account.fistName ? account.fistName : '',
email: account.email, email: account.email,
}); });
}).catch(error => { }).catch(error => {