From 9c85303c9473a04173916b1a6fc1499e9df24ce6 Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 16 Jan 2018 20:30:33 -0500 Subject: [PATCH] fix attribute sync --- services/sync.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/sync.js b/services/sync.js index 6504f13e2..6d923d616 100644 --- a/services/sync.js +++ b/services/sync.js @@ -146,6 +146,9 @@ async function pullSync(syncContext) { else if (sync.entity_name === 'notes_image') { await syncUpdate.updateNoteImage(resp, syncContext.sourceId); } + else if (sync.entity_name === 'attributes') { + await syncUpdate.updateAttribute(resp, syncContext.sourceId); + } else { throw new Error(`Unrecognized entity type ${sync.entity_name} in sync #${sync.id}`); }