Skip to content

Commit cf456fc

Browse files
author
Florian Lücke
committed
Improves German Data
- street numbers moved behind the street name - adds more data for german users
1 parent a9f5a3b commit cf456fc

5 files changed

Lines changed: 6675 additions & 4 deletions

File tree

api/.nextRelease/data/DE/inject.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@ module.exports = (inc, contents) => {
88
name: '',
99
value: null
1010
});
11+
include(inc, 'location', () => {
12+
var oldStreet = contents.location.street.replace(/(\d+) /, '');
13+
contents.location.street = oldStreet + ' ' + range(1, 200);
14+
});
1115
include(inc, 'picture', pic);
12-
};
16+
};

0 commit comments

Comments
 (0)