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 => {
const account = response.data;
success({
lastName: account.lastName,
firstName: account.fistName,
lastName: account.lastName ? account.lastName : '',
firstName: account.fistName ? account.fistName : '',
email: account.email,
});
}).catch(error => {