Allowing description to be optional. (#826)

This commit is contained in:
kevgliss 2017-06-01 17:09:04 -07:00 committed by GitHub
parent 54105e221e
commit 5a4806bc43
1 changed files with 1 additions and 1 deletions

View File

@ -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):