diff --git a/lib/api3/generic/patch/operation.js b/lib/api3/generic/patch/operation.js index 1e5cd0f129b..dff18c70dbe 100644 --- a/lib/api3/generic/patch/operation.js +++ b/lib/api3/generic/patch/operation.js @@ -22,8 +22,10 @@ async function patch (opCtx) { } await security.demandPermission(opCtx, `api:${col.colName}:update`); - - col.parseDate(doc); + + // parseDate is not valid for patch operation + // (it is adding new fields) + // col.parseDate(doc); const identifier = req.params.identifier , identifyingFilter = col.storage.identifyingFilter(identifier);