Correcting grammar for subca ValidationError message for clarity (#657)
This commit is contained in:
parent
d67b6c6120
commit
7f2b44db04
@ -60,7 +60,7 @@ class AuthorityInputSchema(LemurInputSchema):
|
||||
def validate_subca(self, data):
|
||||
if data['type'] == 'subca':
|
||||
if not data.get('parent'):
|
||||
raise ValidationError("If generating a subca parent 'authority' must be specified.")
|
||||
raise ValidationError("If generating a subca, parent 'authority' must be specified.")
|
||||
|
||||
@pre_load
|
||||
def ensure_dates(self, data):
|
||||
|
Loading…
Reference in New Issue
Block a user