mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 06:41:36 -07:00
fix(client): wrong scoping breaks 2FA
This commit is contained in:
parent
ce4a5fe35b
commit
76e226e226
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ const props = defineProps({
|
||||||
function onUsernameChange() {
|
function onUsernameChange() {
|
||||||
os.api('users/show', {
|
os.api('users/show', {
|
||||||
username: username
|
username: username
|
||||||
}).then(user => {
|
}).then(userResponse => {
|
||||||
user = user;
|
user = userResponse;
|
||||||
}, () => {
|
}, () => {
|
||||||
user = null;
|
user = null;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue