Skip to content
New issue

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

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

Already on GitHub? # to your account

findStop not working correctly? #249

Open
haase-laurenz opened this issue Jul 29, 2024 · 0 comments
Open

findStop not working correctly? #249

haase-laurenz opened this issue Jul 29, 2024 · 0 comments

Comments

@haase-laurenz
Copy link

haase-laurenz commented Jul 29, 2024

Firstly, nice module!

But for me, dvb.findStop isn't working 100%.

For example:

const data = await dvb.findStop(trimmedQuery);
const filteredStops = data.filter(stop =>
  stop.city === 'Dresden' && stop.name.toLowerCase().includes(trimmedQuery.toLowerCase())
);

currently making a react-native py backend app playing a bit arround :))
When my trimmed query is ("ber") I do not find Berthold-HauptStraße.

Thx alot!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant