mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 11:51:52 +03:00
added missing await
This commit is contained in:
parent
3983059342
commit
bfedd01144
@ -129,7 +129,7 @@ export const migrateUserEncryption = async (dispatch, currentAccount, encUserPin
|
||||
|
||||
dispatch(setEncryptedUnlockPin(encUserPin))
|
||||
|
||||
const realmData = getUserDataWithUsername(currentAccount.name)
|
||||
const realmData = await getUserDataWithUsername(currentAccount.name)
|
||||
|
||||
let _currentAccount = currentAccount;
|
||||
_currentAccount.username = _currentAccount.name;
|
||||
|
Loading…
Reference in New Issue
Block a user