diff --git a/IsraelHiking.Web/src/application/components/overlays/missing-part-overlay.component.ts b/IsraelHiking.Web/src/application/components/overlays/missing-part-overlay.component.ts index 9c58f0366..078057aa9 100644 --- a/IsraelHiking.Web/src/application/components/overlays/missing-part-overlay.component.ts +++ b/IsraelHiking.Web/src/application/components/overlays/missing-part-overlay.component.ts @@ -49,7 +49,7 @@ export class MissingPartOverlayComponent { public async addMissingPartToOsm() { try { - await firstValueFrom(this.httpClient.put(Urls.osm, this.feature)); + await firstValueFrom(this.httpClient.put(Urls.osm, this.feature())); this.toastService.success(this.resources.routeAddedSuccessfullyItWillTakeTime); this.remove(); } catch (ex) {