Allow csr to be empty during upload
This commit is contained in:
parent
2ff811ae71
commit
770729a72e
|
@ -255,7 +255,7 @@ class CertificateUploadInputSchema(CertificateCreationSchema):
|
|||
private_key = fields.String()
|
||||
body = fields.String(required=True)
|
||||
chain = fields.String(missing=None, allow_none=True)
|
||||
csr = fields.String(required=False, valudate=validators.csr)
|
||||
csr = fields.String(required=False, allow_none=True, validate=validators.csr)
|
||||
|
||||
destinations = fields.Nested(AssociatedDestinationSchema, missing=[], many=True)
|
||||
notifications = fields.Nested(AssociatedNotificationSchema, missing=[], many=True)
|
||||
|
|
Loading…
Reference in New Issue