Skip to content

Commit

Permalink
fix: note-public-to-home menu used outdated "os.api"
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayamame-beans committed Mar 3, 2024
1 parent b128efd commit d672080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/scripts/get-note-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function getNoteMenu(props: {
}).then(({ canceled }) => {
if (canceled) return;

os.api('admin/note-public-to-home', { noteId: appearNote.id });
misskeyApi('admin/note-public-to-home', { noteId: appearNote.id });
});
}

Expand Down

0 comments on commit d672080

Please sign in to comment.