1
0
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:
Laurent Cozic
2021-01-29 18:45:11 +00:00
parent 4a847a096b
commit ccbc329cbf
136 changed files with 4713 additions and 5561 deletions

View File

@ -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';
}
},