@onehat/data 1.16.2 → 1.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/data",
3
- "version": "1.16.2",
3
+ "version": "1.16.3",
4
4
  "description": "JS data modeling package with adapters for many storage mediums.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -223,7 +223,7 @@ class AjaxRepository extends Repository {
223
223
  const first = matches[1],
224
224
  second = matches[2];
225
225
  if (paramsToChange && !paramsToChange.hasOwnProperty(first)) {
226
- paramsToChange[first] = [];
226
+ paramsToChange[first] = {};
227
227
  }
228
228
  if (_.isNil(value) && paramsToChange[first] && paramsToChange[first].hasOwnProperty(second)) {
229
229
  delete paramsToChange[first][second];