fix wrong form name for ob command

This commit is contained in:
Oliver Yu 2024-04-10 20:13:46 +08:00
parent 82995f6b3f
commit 96c22c6646
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ export class FlomoAuth{
async auth(uid: string, passwd: string): Promise<[boolean, string]> {
try {
// Setup
const browser = await playwright_core.webkit.launch();
const browser = await playwright_core.chromium.launch();
const context = await browser.newContext(playwright_core.devices['Desktop Chrome']);
const page = await context.newPage();

View file

@ -9,7 +9,7 @@ export class FlomoExporter {
async export(): Promise<[boolean, string]> {
try {
// Setup
const browser = await playwright_core.webkit.launch();
const browser = await playwright_core.chromium.launch();
const context = await browser.newContext({ storageState: AUTH_FILE });
const page = await context.newPage();

View file

@ -41,7 +41,7 @@ export default class FlomoImporterPlugin extends Plugin {
id: 'open-flomo-importer',
name: 'Open Flomo Importer',
callback: () => {
importerUI.open();
mainUI.open();
},
});
}