diff --git a/lib/getChangeset.js b/lib/getChangeset.js index 8d60303..123b4eb 100644 --- a/lib/getChangeset.js +++ b/lib/getChangeset.js @@ -82,9 +82,8 @@ function getDataParam(c) { return ( '[out:xml][adiff:%22' + c.from.toString() + - ',%22,%22' + - c.to.toString() + - '%22];(node(bbox)(changed);way(bbox)(changed);relation(bbox)(changed););out%20meta%20geom(bbox);' + (c.to ? '%22,%22' + c.to.toString() : '') + + '%22];nwr(bbox)(changed);out%20meta%20geom(bbox);' ); }