fix
This commit is contained in:
parent
de3f4ce29c
commit
76cc50e38a
|
@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { i18n } from '@/i18n.js';
|
import { i18n } from '@/i18n.js';
|
||||||
import { api } from '@/os.js';
|
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||||
const props = withDefaults(defineProps<{
|
const props = withDefaults(defineProps<{
|
||||||
UserId: string;
|
UserId: string;
|
||||||
}>(), {
|
}>(), {
|
||||||
|
@ -17,7 +17,7 @@ const props = withDefaults(defineProps<{
|
||||||
});
|
});
|
||||||
|
|
||||||
function UserInfoUpdate() {
|
function UserInfoUpdate() {
|
||||||
api('federation/update-remote-user',{userId: props.UserId})
|
misskeyApi('federation/update-remote-user', { userId: props.UserId });
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue