Skip to content

Commit

Permalink
fix: use underscores inplace of hyphen for order query parameter in kupo
Browse files Browse the repository at this point in the history
Related to #297.
  • Loading branch information
sourabhxyz committed May 20, 2024
1 parent d4acb11 commit f337b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GeniusYield/Providers/Kupo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ data KupoOrder = KOMostRecentFirst | KOOldestFirst
deriving stock (Show, Eq, Ord, Enum, Bounded)

instance ToHttpApiData KupoOrder where
toUrlPiece KOMostRecentFirst = "most-recent-first"
toUrlPiece KOOldestFirst = "oldest-first"
toUrlPiece KOMostRecentFirst = "most_recent_first"
toUrlPiece KOOldestFirst = "oldest_first"

type KupoApi =
"datums"
Expand Down

0 comments on commit f337b22

Please sign in to comment.