Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2020-05-15 21:55:23 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2020-05-15 21:55:23 +0300
commitb864dcc56be0f880b4cb253bc7f9a03387fe8520 (patch)
tree463d73ad78a0ec54de82ef3f1a1cc0d22f474094
parentd52b36564e8399b73f2b197e349a31e683982e11 (diff)
Convert tags correctly
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
-rw-r--r--src/Classes/EnhancedApi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Classes/EnhancedApi.js b/src/Classes/EnhancedApi.js
index 2148476..4f83688 100644
--- a/src/Classes/EnhancedApi.js
+++ b/src/Classes/EnhancedApi.js
@@ -764,7 +764,7 @@ export default class EnhancedApi extends SimpleApi {
}
} else {
let tags = [];
- for(let id of data.tags) {
+ for(let id in data.tags) {
if(data.tags.hasOwnProperty(id)) tags.push(id);
}
data.tags = tags;