1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Tweaks to make sure Nextcloud driver passes all test units

This commit is contained in:
Laurent Cozic
2018-01-25 21:15:58 +00:00
parent 7ab135c099
commit 8f3fdb3afe
11 changed files with 89 additions and 24 deletions

View File

@ -31,6 +31,10 @@ class SyncTargetRegistry {
throw new Error('ID not found: ' + id);
}
static idToName(id) {
return this.idToMetadata(id).name;
}
static idAndLabelPlainObject() {
let output = {};
for (let n in this.reg_) {