add missing awaits in admin-user.vue

This commit is contained in:
Hazelnoot 2025-06-07 00:31:13 -04:00
parent f3b3609950
commit c21209152c

View file

@ -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();
});
}