mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 04:04:16 +00:00
add missing awaits in admin-user.vue
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user