diff --git a/packages/frontend/src/components/MkVisibilityPicker.vue b/packages/frontend/src/components/MkVisibilityPicker.vue index 4e877222cb..0b74f0a31e 100644 --- a/packages/frontend/src/components/MkVisibilityPicker.vue +++ b/packages/frontend/src/components/MkVisibilityPicker.vue @@ -61,6 +61,7 @@ import * as Misskey from 'misskey-js'; import MkModal from '@/components/MkModal.vue'; import { i18n } from '@/i18n.js'; import * as os from '@/os.js'; +import { api } from '@/scripts/api.js'; const modal = shallowRef>(); const channelsButton = shallowRef>(); @@ -98,7 +99,7 @@ const currentChannel = ref(props.currentCh const currentChannelName = computed(() => currentChannel.value?.name ?? null); async function fetchChannels() { - const res = await os.api('channels/my-favorites', { + const res = await api('channels/my-favorites', { limit: 100, }); channels.value.splice(0, 0, ...res);