From 9cdef1902aafcde4ffc1f5d4bbdfacc43448933e Mon Sep 17 00:00:00 2001 From: Nils Date: Sat, 27 Jan 2024 00:33:57 +0100 Subject: [PATCH] fixed incorrect parameters in documentation 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. --- docs/lines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lines.md b/docs/lines.md index 97bf153ca..2ce326555 100644 --- a/docs/lines.md +++ b/docs/lines.md @@ -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.