1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Minor refactoring to make function purpose clearer

This commit is contained in:
Laurent Cozic
2018-02-21 18:36:29 +00:00
parent 4a56c76901
commit b9db747b5c
3 changed files with 14 additions and 5 deletions

View File

@ -37,7 +37,7 @@ class SyncTargetNextcloud extends BaseSyncTarget {
}
async initFileApi() {
const fileApi = await SyncTargetWebDAV.initFileApi_(SyncTargetNextcloud.id(), {
const fileApi = await SyncTargetWebDAV.newFileApi_(SyncTargetNextcloud.id(), {
path: Setting.value('sync.5.path'),
username: Setting.value('sync.5.username'),
password: Setting.value('sync.5.password'),