diff --git a/src/models/staging/staging.model.js b/src/models/staging/staging.model.js index 5469b1f3..377676e1 100644 --- a/src/models/staging/staging.model.js +++ b/src/models/staging/staging.model.js @@ -86,7 +86,7 @@ class Staging extends Model { }); } - diff.original = original; + diff.original = _.omit(original, 'createdAt', 'updatedAt'); diff.change = JSON.parse(data); } @@ -115,7 +115,7 @@ class Staging extends Model { }); } - diff.original = original; + diff.original = _.omit(original, 'createdAt', 'updatedAt'); diff.change = {}; }