From 87efbf0613123c30163d095b5f1aa809d2f9954f Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Wed, 21 Jun 2023 16:09:04 -0500 Subject: [PATCH] Correct type of ownerId in XeroInvoiceRequest --- src/Xero.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xero.hs b/src/Xero.hs index 9970352..49073f2 100644 --- a/src/Xero.hs +++ b/src/Xero.hs @@ -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