silverbullet/plugs/editor/account.ts

6 lines
146 B
TypeScript

import { editor } from "$sb/syscalls.ts";
export async function accountLogoutCommand() {
await editor.openUrl("/.client/logout.html", true);
}