Skip to content

findStop not working correctly? #249

@haase-laurenz

Description

@haase-laurenz

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions