diff --git a/Logic/Actors/UpdateTagsFromOsmAPI.ts b/Logic/Actors/UpdateTagsFromOsmAPI.ts index e4ad0a1c5..660b22940 100644 --- a/Logic/Actors/UpdateTagsFromOsmAPI.ts +++ b/Logic/Actors/UpdateTagsFromOsmAPI.ts @@ -8,7 +8,7 @@ export default class UpdateTagsFromOsmAPI { /*** * This actor downloads the element from the OSM-API and updates the corresponding tags in the UI-updater. */ - constructor(idToDownload: UIEventSource, allElements: ElementStorage) { + constructor(idToDownload: UIEventSource, allElements: ElementStorage, callback? : (element: OsmObject) => void) { idToDownload.addCallbackAndRun(id => { if (id === undefined) {