Skip to content

Commit

Permalink
rename rentIndexBlock to houseNumberRange
Browse files Browse the repository at this point in the history
  • Loading branch information
tlmn committed Apr 22, 2024
1 parent 40977af commit 48be9ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ app.get("/:rentIndexYear/residentialStatus", (req: Request, res: Response) => {
result.houseNumberRangeEndDecimal
);

const rentIndexBlock = {
const houseNumberRange = {
block: result.B,
...(parsedStart ? { start: parsedStart } : {}),
...(parsedEnd ? { end: parsedEnd } : {}),
Expand All @@ -97,7 +97,7 @@ app.get("/:rentIndexYear/residentialStatus", (req: Request, res: Response) => {
objectStatus: result.objectStatus,
noiseLevel: convertBooleanString(result.noiseLevel),
residentialSituation: result.residentialSituation,
rentIndexBlock,
houseNumberRange,
},
});
} catch (err) {
Expand Down

0 comments on commit 48be9ec

Please sign in to comment.