Skip to content

Commit

Permalink
fixed incorrect parameters in documentation
Browse files Browse the repository at this point in the history
I'm not sure how exactly the `query` parameter works exactly, but the source code for `client.lines` requires the parameter `query` and checks if the string is empty.
  • Loading branch information
Revilum committed Jan 26, 2024
1 parent 46bc66f commit 9cdef19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lines.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `lines([opt])`
# `lines(query, [opt])`

**Fetches all lines known to the HAFAS endpoint**, e.g. warnings about disruptions, planned construction work, and general notices about the operating situation.

Expand Down

0 comments on commit 9cdef19

Please sign in to comment.