Store metadata about original OSM data, and return it in the API response, if available.
This commit is contained in:
committed by
Daniel Patterson
parent
4c665b24d9
commit
8b45ff7a18
@@ -75,6 +75,10 @@ module.exports = function () {
|
||||
got.message = json.message || '';
|
||||
}
|
||||
|
||||
if (headers.has('data_version')) {
|
||||
got.data_version = json.data_version || '';
|
||||
}
|
||||
|
||||
if (headers.has('#')) {
|
||||
// comment column
|
||||
got['#'] = row['#'];
|
||||
|
||||
Reference in New Issue
Block a user