mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 00:07:03 +02:00
migrate to osm-auth 2.3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user