Skip to content

Commit

Permalink
Improved: added facilityId in payload for updating lat-long (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Nov 28, 2023
1 parent e47b178 commit 125231e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FacilityGeoPointModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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."))
Expand Down

0 comments on commit 125231e

Please sign in to comment.