We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2927301 commit a09e586Copy full SHA for a09e586
lib/api3/generic/update/validate.js
@@ -19,7 +19,7 @@ function validate (opCtx, doc, storageDoc, options) {
19
const { isPatching, isDeduplication } = options || {};
20
21
const immutable = ['identifier', 'date', 'utcOffset', 'eventType', 'device', 'app',
22
- 'srvCreated', 'subject', 'srvModified', 'modifiedBy'];
+ 'srvCreated', 'subject', 'srvModified', 'modifiedBy', 'isValid'];
23
24
if (storageDoc.isReadOnly === true || storageDoc.readOnly === true || storageDoc.readonly === true) {
25
return opTools.sendJSONStatus(res, apiConst.HTTP.UNPROCESSABLE_ENTITY,
0 commit comments