Skip to content

Commit

Permalink
Fixed syntax in new "non-blank" title field validation requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
monotasker committed Jul 6, 2024
1 parent aeae270 commit e90adb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_rdm_records/services/schemas/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class MetadataSchema(Schema):
)
title = SanitizedUnicode(
required=True,
validate=validate._not_blank(_("Title cannot be a blank string."))
validate=_not_blank(_("Title cannot be a blank string."))
)
additional_titles = fields.List(fields.Nested(TitleSchema))
publisher = SanitizedUnicode()
Expand Down

0 comments on commit e90adb4

Please sign in to comment.