This commit is contained in:
mattyatea 2024-01-06 14:26:59 +09:00
parent de3f4ce29c
commit 76cc50e38a
1 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script lang="ts" setup>
import { i18n } from '@/i18n.js';
import { api } from '@/os.js';
import { misskeyApi } from '@/scripts/misskey-api.js';
const props = withDefaults(defineProps<{
UserId: string;
}>(), {
@ -17,7 +17,7 @@ const props = withDefaults(defineProps<{
});
function UserInfoUpdate() {
api('federation/update-remote-user',{userId: props.UserId})
misskeyApi('federation/update-remote-user', { userId: props.UserId });
}
</script>