From a09e586b95065d502390475bb4ec415f95c7eff5 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 13 Jan 2023 10:52:10 +0100 Subject: [PATCH] rollback wrong commit --- lib/api3/generic/update/validate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api3/generic/update/validate.js b/lib/api3/generic/update/validate.js index 4367699e962..65233dddb4f 100644 --- a/lib/api3/generic/update/validate.js +++ b/lib/api3/generic/update/validate.js @@ -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,