Skip to content

Commit c5c84a9

Browse files
CrowdHailerlpil
authored andcommitted
fetching a query string returns maybe(string) (#16)
1 parent d64679b commit c5c84a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gleam_elli/src/Elli.gleam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Get the request body.
6363
external body : |Request| -> String = :elli_request.body
6464

6565
doc """
66-
Get the query string for the request. Returns empty string if there is none.
66+
Get the query string for the request. Returns `Nothing` string if request has no query.
6767
"""
6868
fn query_string(req) =
6969
case erl_query_string(req)

0 commit comments

Comments
 (0)