Skip to content

Commit

Permalink
Merge pull request #11 from yoching/fix-query-string
Browse files Browse the repository at this point in the history
Fix query percent encoding
  • Loading branch information
hojberg authored May 24, 2023
2 parents 3a41ce9 + 5fe8c58 commit 5b1c41b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UnisonLocal/Api.elm
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ codebaseApiEndpointToEndpoint cbEndpoint =
refToString r =
case Reference.hashQualified r of
HQ.NameOnly fqn ->
FQN.toApiUrlString fqn
-- Using plain `toString` here because percentEncoded is added in elm/url's query param builder below
fqn |> FQN.toString

HQ.HashOnly h ->
withoutConstructorSuffix h
Expand Down

0 comments on commit 5b1c41b

Please sign in to comment.