diff --git a/package.json b/package.json index fa737ba..38b1ec4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@maproulette/mr-cli", - "version": "0.1.2", + "version": "0.1.4", "description": "Utilities for MapRoulette challenge management", "keywords": [ "maproulette", diff --git a/src/common/utils.js b/src/common/utils.js index d085e29..f6d098c 100644 --- a/src/common/utils.js +++ b/src/common/utils.js @@ -270,7 +270,7 @@ const Utils = { return new Promise((resolve, reject) => { const versionId = `${change.elementType}/${change.elementId}/${change.element.version}` if (Utils.versionedElements.has(versionId)) { - resolve(utils.versionedElements.get(versionId)) + resolve(Utils.versionedElements.get(versionId)) return } @@ -307,7 +307,7 @@ const Utils = { elementIds.forEach(elementId => { const referenceId = `${elementType}/${elementId}` if (Utils.versionedElements.has(referenceId)) { - results.set(elementId, utils.versionedElements.get(referenceId)) + results.set(elementId, Utils.versionedElements.get(referenceId)) } else if (localElements && localElements.has(elementId)) { results.set(elementId, localElements.get(elementId))