renamed outstanding attribute references to labels

This commit is contained in:
azivner
2018-04-01 09:59:44 -04:00
parent ab2f28ceef
commit c9d73c6115
12 changed files with 71 additions and 73 deletions

View File

@@ -58,8 +58,8 @@ class Note extends Entity {
async getLabelMap() {
const map = {};
for (const attr of await this.getLabels()) {
map[attr.name] = attr.value;
for (const label of await this.getLabels()) {
map[label.name] = label.value;
}
return map;