Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search truck booking, Is not fetching correct truck data as per pick up and destination entered #4

Open
Abhishekbharti9910 opened this issue Feb 14, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Abhishekbharti9910
Copy link
Collaborator

Abhishekbharti9910 commented Feb 14, 2024

The current implementation of the truck booking API is returning invalid trucks for a particular pick and drop location search. Despite entering specific locations, the API is fetching trucks that do not match the entered criteria, leading to inaccuracies and potential booking errors.

Steps to Reproduce:

  1. Enter specific pick-up and drop-off locations in the truck booking API.
  2. Observe the trucks returned by the API.
  3. Notice that the returned trucks do not correspond to the entered locations or meet the booking criteria.

Expected Behavior:
The API should accurately return trucks available for booking based on the specified pick-up and drop-off locations.

Proposed Solution:

  1. Review the logic and algorithms used for location-based truck retrieval in the API.
  2. Ensure that the API accurately filters trucks based on the entered pick-up and drop-off locations.
  3. Implement thorough testing to validate the correctness of truck retrieval for various location scenarios.
@Abhishekbharti9910 Abhishekbharti9910 added the bug Something isn't working label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants