Skip to content

Commit

Permalink
fix(ManageTripTracking): Use profile of primary traveler for bus noti…
Browse files Browse the repository at this point in the history
…fications.
  • Loading branch information
binh-dam-ibigroup committed Dec 10, 2024
1 parent dd2f246 commit 55b91ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private static TrackingResponse doUpdateTracking(Request request, TripTrackingDa
TravelerPosition travelerPosition = new TravelerPosition(
trackedJourney,
tripData.trip.journeyState.matchingItinerary,
Persistence.otpUsers.getById(tripData.trip.userId)
Persistence.otpUsers.getById(tripData.trip.getPrimaryTravelerId())
);
TripStatus tripStatus = TripStatus.getTripStatus(travelerPosition);
trackedJourney.lastLocation().tripStatus = tripStatus;
Expand Down

0 comments on commit 55b91ee

Please sign in to comment.