From 125231e83d5264727117a43019602252d323a0ec Mon Sep 17 00:00:00 2001 From: amansinghbais Date: Tue, 28 Nov 2023 12:17:18 +0530 Subject: [PATCH] Improved: added facilityId in payload for updating lat-long (#20) --- src/components/FacilityGeoPointModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."))