mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 04:26:58 +00:00
add missing awaits in admin-user.vue
This commit is contained in:
parent
f3b3609950
commit
c21209152c
1 changed files with 2 additions and 2 deletions
|
@ -460,14 +460,14 @@ async function onMandatoryCWChanged(value: string) {
|
|||
async function onModerationNoteChanged(value: string) {
|
||||
await os.promiseDialog(async () => {
|
||||
await misskeyApi('admin/update-user-note', { userId: props.userId, text: value });
|
||||
refreshUser();
|
||||
await refreshUser();
|
||||
});
|
||||
}
|
||||
|
||||
async function updateRemoteUser() {
|
||||
await os.promiseDialog(async () => {
|
||||
await misskeyApi('federation/update-remote-user', { userId: props.userId });
|
||||
refreshUser();
|
||||
await refreshUser();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue