Skip to content

Commit

Permalink
Merge pull request #808 from maykinmedia/issue/sentry-340365
Browse files Browse the repository at this point in the history
[Sentry 340365] Forcing housenumbersuffix to string
  • Loading branch information
alextreme authored Oct 23, 2023
2 parents 8ce2957 + 2ead891 commit 6cf830f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/open_inwoner/haalcentraal/api_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ def get_full_name(self) -> str:
def get_housenumber(self):
parts = []
if self.housenumber:
parts.append(self.housenumber)
parts.append(str(self.housenumber))
if self.houseletter:
parts.append(self.houseletter)
parts.append(str(self.houseletter))
if self.housenumbersuffix:
parts.append(" ")
parts.append(self.housenumbersuffix)
parts.append(str(self.housenumbersuffix))
return "".join(parts)

0 comments on commit 6cf830f

Please sign in to comment.