fix(settings): refresh profile after initted
This commit is contained in:
parent
496da96072
commit
fbf1906bd4
2 changed files with 13 additions and 18 deletions
|
@ -139,8 +139,8 @@ export function setAccountInfo(userId: string, account: AccountCredentials) {
|
|||
}
|
||||
|
||||
export async function pullMyAccountInfo() {
|
||||
const me = await useMasto().accounts.verifyCredentials()
|
||||
setAccountInfo(currentUserId.value, me)
|
||||
const account = await useMasto().accounts.verifyCredentials()
|
||||
setAccountInfo(currentUserId.value, account)
|
||||
}
|
||||
|
||||
export function getUsersIndexByUserId(userId: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue