diff --git a/ast.json b/ast.json index 55cbb95..3a1d934 100644 --- a/ast.json +++ b/ast.json @@ -3111,7 +3111,7 @@ "type": "NameExpression", "name": "Object" }, - "name": "attributes" + "name": "attr" }, { "title": "param", @@ -3132,7 +3132,7 @@ } ] }, - "valid": false + "valid": true } ], "exports": [], diff --git a/lib/Adaptor.js b/lib/Adaptor.js index cd9579e..2d3d7ba 100644 --- a/lib/Adaptor.js +++ b/lib/Adaptor.js @@ -1859,7 +1859,7 @@ function upsert(resourceType, uniqueAttribute, data, params, options, callback) * @example * valByName(tei.attributes, 'first name') * @function - * @param {Object} attributes - An array of tracked entity attributes + * @param {Object} attr - An array of tracked entity attributes * @param {string} name - The display name to search for * @returns {string} */ diff --git a/package-lock.json b/package-lock.json index 64441a0..0f07bd6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@openfn/language-dhis2", - "version": "2.0.9", + "version": "2.0.10", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 82a0559..3668051 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@openfn/language-dhis2", - "version": "2.0.9", + "version": "2.0.10", "description": "DHIS2 Language Pack for OpenFn", "homepage": "https://docs.openfn.org", "repository": {