Fix commenting on notes

This commit is contained in:
Pieter Vander Vennet 2022-01-30 18:47:19 +01:00
parent c39040faa9
commit 5f33949b93

View file

@ -322,7 +322,7 @@ export class OsmConnection {
this.auth.xhr({ this.auth.xhr({
method: 'POST', method: 'POST',
path: `/api/0.6/notes.json/${id}/comment?text=${encodeURIComponent(text)}` path: `/api/0.6/notes/${id}/comment?text=${encodeURIComponent(text)}`
}, function (err, response) { }, function (err, response) {
if (err !== null) { if (err !== null) {
error(err) error(err)