diff --git a/src/components/FacilityGeoPointModal.vue b/src/components/FacilityGeoPointModal.vue index e72f0874..c387653e 100644 --- a/src/components/FacilityGeoPointModal.vue +++ b/src/components/FacilityGeoPointModal.vue @@ -130,7 +130,7 @@ export default defineComponent({ let resp; try { - resp = await FacilityService.updateFacilityPostalAddress(this.geoPoint) + resp = await FacilityService.updateFacilityPostalAddress({...this.geoPoint, facilityId: this.facilityId}) if(!hasError(resp)) { showToast(translate("Facility latitude & longitude updated successfully."))