mirror of
https://github.com/jia6y/flomo-to-obsidian.git
synced 2026-07-22 07:40:28 +00:00
fix wrong form name for ob command
This commit is contained in:
parent
82995f6b3f
commit
96c22c6646
3 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
2
main.ts
2
main.ts
|
|
@ -41,7 +41,7 @@ export default class FlomoImporterPlugin extends Plugin {
|
|||
id: 'open-flomo-importer',
|
||||
name: 'Open Flomo Importer',
|
||||
callback: () => {
|
||||
importerUI.open();
|
||||
mainUI.open();
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue