Allowing description to be optional. (#826)
This commit is contained in:
parent
54105e221e
commit
5a4806bc43
@ -28,7 +28,7 @@ from lemur.common.fields import ArrowDateTime, Hex
|
||||
|
||||
class CertificateSchema(LemurInputSchema):
|
||||
owner = fields.Email(required=True)
|
||||
description = fields.String()
|
||||
description = fields.String(missing='', allow_none=True)
|
||||
|
||||
|
||||
class CertificateCreationSchema(CertificateSchema):
|
||||
|
Loading…
Reference in New Issue
Block a user