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
(cherry picked from commit e90adb4)
  • Loading branch information
monotasker committed Jan 10, 2025
1 parent 4b76077 commit dcc2697
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 @@ -364,7 +364,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 dcc2697

Please sign in to comment.