@autofleet/sadot 0.13.0-beta.8 → 0.13.0-beta.9

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.
@@ -110,7 +110,7 @@ const validateModel = async (instance, options, scopeAttributes, isCreate = fals
110
110
  const isValid = validateSchema({
111
111
  after: {
112
112
  ...instance.dataValues,
113
- ...instance.customFields,
113
+ customFields: instance.customFields,
114
114
  },
115
115
  });
116
116
  if (!isValid) {
@@ -126,7 +126,7 @@ const validateModel = async (instance, options, scopeAttributes, isCreate = fals
126
126
  before: originalValues,
127
127
  after: {
128
128
  ...instance.dataValues,
129
- ...instance.customFields,
129
+ customFields: instance.customFields,
130
130
  },
131
131
  });
132
132
  logger_1.default.info('sadot - validation result', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/sadot",
3
- "version": "0.13.0-beta.8",
3
+ "version": "0.13.0-beta.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -110,7 +110,7 @@ const validateModel = async (
110
110
  const isValid = validateSchema({
111
111
  after: {
112
112
  ...instance.dataValues,
113
- ...instance.customFields,
113
+ customFields: instance.customFields,
114
114
  },
115
115
  });
116
116