dimitri-xyz / haskell-coinbase-pro

A Haskell client for the Coinbase Pro API
MIT License
11 stars 6 forks source link

Fix parsing of order info by adding default self-trading param to Aeson instance #3

Closed ericpashman closed 4 years ago

ericpashman commented 4 years ago

This fixes a runtime error on parsing order info received from the server whenever the server doesn't specify this parameter, which is the common case.