fix
This commit is contained in:
parent
14fb95c798
commit
68aab48f4e
6 changed files with 71 additions and 72 deletions
|
|
@ -101,7 +101,7 @@ import { definePageMetadata } from '@/scripts/page-metadata';
|
|||
const stats = ref<any>({});
|
||||
|
||||
onMounted(() => {
|
||||
os.api('i/stats', {
|
||||
misskeyApi('i/stats', {
|
||||
userId: $i!.id,
|
||||
}).then(response => {
|
||||
stats.value = response;
|
||||
|
|
|
|||
|
|
@ -79,11 +79,11 @@ const sendReadMessage = computed(() => pushRegistrationInServer.value?.sendReadM
|
|||
const userLists = await misskeyApi('users/lists/list');
|
||||
|
||||
async function readAllUnreadNotes() {
|
||||
await os.api('i/read-all-unread-notes');
|
||||
await misskeyApi('i/read-all-unread-notes');
|
||||
}
|
||||
|
||||
async function readAllNotifications() {
|
||||
await os.api('notifications/mark-all-as-read');
|
||||
await misskeyApi('notifications/mark-all-as-read');
|
||||
}
|
||||
|
||||
async function updateReceiveConfig(type, value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue