Correct type of ownerId in XeroInvoiceRequest

This commit is contained in:
Rene Vergara 2023-06-21 16:09:04 -05:00
parent 547d5511fa
commit 87efbf0613
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -189,7 +189,7 @@ instance FromJSON XeroInvoiceRequest where
a <- obj .: "amount"
c <- obj .: "currency"
s <- obj .: "shortcode"
pure $ XeroInvoiceRequest (read o) i a c s
pure $ XeroInvoiceRequest o i a c s
data XeroInvoice =
XeroInvoice