Cerberus or Eve apparently changed validator._id to document_id
This commit is contained in:
@@ -159,7 +159,7 @@ class ValidateCustomFields(Validator):
|
|||||||
# validator at all.
|
# validator at all.
|
||||||
return
|
return
|
||||||
|
|
||||||
if self._id is None:
|
if self.document_id is None:
|
||||||
# This is a creation call, in which case this validator shouldn't run.
|
# This is a creation call, in which case this validator shouldn't run.
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user