You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-24 23:26:50 +02:00
Server: Add support for sharing notes via a link
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { utils, CommandRuntime, CommandDeclaration, CommandContext } from '../services/CommandService';
|
||||
import { _ } from '../locale';
|
||||
const { reg } = require('../registry.js');
|
||||
import { reg } from '../registry';
|
||||
|
||||
export const declaration: CommandDeclaration = {
|
||||
name: 'synchronize',
|
||||
@ -43,7 +43,7 @@ export const runtime = (): CommandRuntime => {
|
||||
sync.cancel();
|
||||
return 'cancel';
|
||||
} else {
|
||||
reg.scheduleSync(0);
|
||||
void reg.scheduleSync(0);
|
||||
return 'sync';
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user