From 9b21af56e9aeaf0f00ebe0da3e1a2fc7e9fd549b Mon Sep 17 00:00:00 2001 From: khuzema786 Date: Tue, 21 Jan 2025 12:27:21 +0530 Subject: [PATCH] backend: WMB Driver Reached Destination Fix --- crates/location_tracking_service/src/outbound/external.rs | 2 +- crates/location_tracking_service/src/outbound/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/location_tracking_service/src/outbound/external.rs b/crates/location_tracking_service/src/outbound/external.rs index e614038..35d932f 100644 --- a/crates/location_tracking_service/src/outbound/external.rs +++ b/crates/location_tracking_service/src/outbound/external.rs @@ -143,7 +143,7 @@ pub async fn driver_reached_destination( location: location.to_owned(), ride_id, driver_id, - vehicle_type, + vehicle_variant: vehicle_type, }), ) .await diff --git a/crates/location_tracking_service/src/outbound/types.rs b/crates/location_tracking_service/src/outbound/types.rs index 39ddeaa..8edcb7e 100644 --- a/crates/location_tracking_service/src/outbound/types.rs +++ b/crates/location_tracking_service/src/outbound/types.rs @@ -53,7 +53,7 @@ pub struct DriverReachedDestinationReq { pub location: Point, pub ride_id: RideId, pub driver_id: DriverId, - pub vehicle_type: VehicleType, + pub vehicle_variant: VehicleType, } // Live activity notification trigger for IOS