Skip to content

Commit

Permalink
rollback wrong commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosKozak committed Jan 13, 2023
1 parent 2927301 commit a09e586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api3/generic/update/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function validate (opCtx, doc, storageDoc, options) {
const { isPatching, isDeduplication } = options || {};

const immutable = ['identifier', 'date', 'utcOffset', 'eventType', 'device', 'app',
'srvCreated', 'subject', 'srvModified', 'modifiedBy'];
'srvCreated', 'subject', 'srvModified', 'modifiedBy', 'isValid'];

if (storageDoc.isReadOnly === true || storageDoc.readOnly === true || storageDoc.readonly === true) {
return opTools.sendJSONStatus(res, apiConst.HTTP.UNPROCESSABLE_ENTITY,
Expand Down

0 comments on commit a09e586

Please sign in to comment.