You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Tidy settings and sync creation
This commit is contained in:
@ -153,7 +153,7 @@ class Synchronizer {
|
||||
|
||||
const lastContext = options.context ? options.context : {};
|
||||
|
||||
const syncTargetId = this.api().driver().syncTargetId();
|
||||
const syncTargetId = this.api().syncTargetId();
|
||||
|
||||
if (this.state() != 'idle') {
|
||||
this.logger().info('Synchronization is already in progress. State: ' + this.state());
|
||||
@ -176,7 +176,7 @@ class Synchronizer {
|
||||
|
||||
this.dispatch({ type: 'SYNC_STARTED' });
|
||||
|
||||
this.logSyncOperation('starting', null, null, 'Starting synchronization to ' + this.api().driver().syncTargetName() + ' (' + syncTargetId + ')... [' + synchronizationId + ']');
|
||||
this.logSyncOperation('starting', null, null, 'Starting synchronization to target ' + syncTargetId + '... [' + synchronizationId + ']');
|
||||
|
||||
try {
|
||||
await this.api().mkdir(this.syncDirName_);
|
||||
|
Reference in New Issue
Block a user