Correct type of ownerId in XeroInvoiceRequest
This commit is contained in:
parent
547d5511fa
commit
87efbf0613
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ instance FromJSON XeroInvoiceRequest where
|
||||||
a <- obj .: "amount"
|
a <- obj .: "amount"
|
||||||
c <- obj .: "currency"
|
c <- obj .: "currency"
|
||||||
s <- obj .: "shortcode"
|
s <- obj .: "shortcode"
|
||||||
pure $ XeroInvoiceRequest (read o) i a c s
|
pure $ XeroInvoiceRequest o i a c s
|
||||||
|
|
||||||
data XeroInvoice =
|
data XeroInvoice =
|
||||||
XeroInvoice
|
XeroInvoice
|
||||||
|
|
Loading…
Reference in a new issue