Skip to content

Commit

Permalink
fix: use correct attribute to get raadpleeg URL
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Dec 16, 2024
1 parent 92a30e2 commit 3f4b359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdto/mdto.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class VerwijzingGegevens(Serializable):
def validate(self):
"""Warn about long names."""
super().validate()
if len(self.naam) > MDTO_MAX_NAAM_LENGTH:
if len(self.verwijzingNaam) > MDTO_MAX_NAAM_LENGTH:
logging.warning(
f"VerwijzingGegevens.verwijzingNaam: {self.naam} exceeds maximum length of {MDTO_MAX_NAAM_LENGTH}"
)
Expand Down

0 comments on commit 3f4b359

Please sign in to comment.