This commit is contained in:
Mustafa Buyukcelebi 2018-12-19 15:07:49 +03:00
parent ab0fb9e158
commit c344600ce1

View File

@ -53,7 +53,7 @@ export const Login = (username, password) => {
const jsonMetadata = JSON.parse(account.json_metadata);
if (Object.keys(jsonMetadata).length !== 0) {
avatar = jsonMetadata.profile.profile_image;
avatar = jsonMetadata.profile.profile_image || '';
}
if (loginFlag) {
const userData = {