diff --git a/lib/edit/editsStore.js b/lib/edit/editsStore.js index 47b8499..bcd4441 100644 --- a/lib/edit/editsStore.js +++ b/lib/edit/editsStore.js @@ -819,7 +819,7 @@ O.esri.Edit.EditStore = function () { }; /** - * Verify is an edit already exists in the database. Checks the objectId and layerId. + * Verify is an edit already exists in the database. Checks the objectId. * @param id * @returns {deferred} {success: boolean, error: message} * @private @@ -844,7 +844,7 @@ O.esri.Edit.EditStore = function () { deferred.resolve({success: true, error: null}); } else { - deferred.reject({success: false, error: "Layer id is not a match."}); + deferred.reject({success: false, error: "objectId is not a match."}); } };