diff options
author | Marcus Lundblad <ml@update.uu.se> | 2021-07-09 23:03:42 +0200 |
---|---|---|
committer | Marcus Lundblad <ml@update.uu.se> | 2021-07-09 23:07:13 +0200 |
commit | fd87c6857aa22904f84a2769f217f8cf8ea52429 (patch) | |
tree | 9b83b1fc02002cfad924ca244baf689b71dc0785 /src | |
parent | 63cea3cc54fb8961d632887f3758b6db6eafa78f (diff) | |
download | gnome-maps-fd87c6857aa22904f84a2769f217f8cf8ea52429.tar.gz |
osmConnection: Use '1' for permission instead of 'yes'
Use the correct value '1' instead of 'yes' when posting
the authorization form. This fixes a regression making
OSM OAUTH setup to break with recent updates on
openstreetmap.org breaking the old incorrect behavior.
Fixes #386
Diffstat (limited to 'src')
-rw-r--r-- | src/osmConnection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmConnection.js b/src/osmConnection.js index eb84287b..6bb7026c 100644 --- a/src/osmConnection.js +++ b/src/osmConnection.js @@ -317,7 +317,7 @@ var OSMConnection = class OSMConnection { oauth_token: this._oauthToken, oauth_callback: '', authenticity_token: token, - allow_write_api: 'yes', + allow_write_api: '1', commit: 'Save changes' }); let requestHeaders = msg.request_headers; |