migrate to osm-auth 2.3

This commit is contained in:
Martin Raifer
2023-11-14 07:48:12 +01:00
parent 4562b732c9
commit 87a05f5815
2 changed files with 28 additions and 23 deletions
+4 -1
View File
@@ -271,7 +271,10 @@ describe('iD.serviceOsm', function () {
headers: { 'Content-Type': 'application/json' }
});
connection.switch({ url: 'https://api.openstreetmap.org' });
connection.switch({
url: 'https://www.openstreetmap.org',
apiUrl: 'https://api.openstreetmap.org'
});
connection.loadFromAPI(path, function (err) {
expect(err).to.not.be.ok;