rollback wrong commit

This commit is contained in:
Milos Kozak
2023-01-13 10:52:10 +01:00
committed by GitHub
parent 2927301fa1
commit a09e586b95
+1 -1
View File
@@ -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,