Fix typo in method name, fix conflicted doctests

This commit is contained in:
Pieter Vander Vennet 2022-06-20 11:26:55 +02:00
parent 00026768f2
commit 5bafbbd3d2
4 changed files with 4 additions and 12 deletions

View file

@ -949,7 +949,7 @@ export default class SpecialVisualizations {
await state.osmConnection.reopenNote(id, txt.data)
await state.osmConnection.closeNote(id)
} else {
await state.osmConnection.addCommentToNode(id, txt.data)
await state.osmConnection.addCommentToNote(id, txt.data)
}
NoteCommentElement.addCommentTo(txt.data, tags, state)
txt.setData("")
@ -1045,7 +1045,7 @@ export default class SpecialVisualizations {
const uploader = new ImgurUploader(url => {
isUploading.setData(false)
state.osmConnection.addCommentToNode(id, url)
state.osmConnection.addCommentToNote(id, url)
NoteCommentElement.addCommentTo(url, tags, state)
})