Skip to content

Commit

Permalink
fix: default when no query param is present
Browse files Browse the repository at this point in the history
  • Loading branch information
samcamwilliams committed Jan 18, 2025
1 parent 6ecc915 commit e1b93df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hb_singleton.erl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ parse_full_path(RelativeRef) ->
{Path, QKVList} =
case binary:split(RelativeRef, <<"?">>) of
[P, QStr] -> {P, cowboy_req:parse_qs(#{ qs => QStr })};
[P] -> {P, #{}}
[P] -> {P, []}
end,
{
ok,
Expand Down

0 comments on commit e1b93df

Please sign in to comment.