Skip to content

Commit

Permalink
global: Fixes typo. As overall else: Pid --> PID.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriz-uniba authored and jrcastro2 committed Jul 11, 2024
1 parent 1975874 commit 99cb098
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion invenio_vocabularies/contrib/awards/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class AwardSchema(BaseVocabularySchema):
acronym = SanitizedUnicode()

id = SanitizedUnicode(
validate=validate.Length(min=1, error=_("Pid cannot be blank."))
validate=validate.Length(min=1, error=_("PID cannot be blank."))
)

@validates_schema
Expand Down
2 changes: 1 addition & 1 deletion invenio_vocabularies/contrib/funders/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class FunderSchema(BaseVocabularySchema):
)

id = SanitizedUnicode(
validate=validate.Length(min=1, error=_("Pid cannot be blank."))
validate=validate.Length(min=1, error=_("PID cannot be blank."))
)

@validates_schema
Expand Down

0 comments on commit 99cb098

Please sign in to comment.