mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-26 06:42:15 +03:00
parent
ab0fb9e158
commit
c344600ce1
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user