mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-29 11:12:18 +03:00
remvoed uncessary await
This commit is contained in:
parent
7f070cb308
commit
4c189396fa
@ -101,7 +101,7 @@ export const login = async (username, password) => {
|
||||
password,
|
||||
accessToken: get(scTokens, 'access_token', ''),
|
||||
};
|
||||
const updatedUserData = await getUpdatedUserData(userData, resData);
|
||||
const updatedUserData = getUpdatedUserData(userData, resData);
|
||||
|
||||
account.local = updatedUserData;
|
||||
account.local.avatar = avatar;
|
||||
@ -166,7 +166,7 @@ export const loginWithSC2 = async (code) => {
|
||||
pinCode: Config.DEFAULT_PIN,
|
||||
accessToken: get(scTokens, 'access_token', ''),
|
||||
};
|
||||
const updatedUserData = await getUpdatedUserData(userData, resData);
|
||||
const updatedUserData = getUpdatedUserData(userData, resData);
|
||||
|
||||
account.local = updatedUserData;
|
||||
account.local.avatar = avatar;
|
||||
|
Loading…
Reference in New Issue
Block a user