mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
rollback wrong commit
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user