airtable-api 0.2.0.0 → 0.2.0.1
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- airtable-api.cabal +1/−1
- src/Airtable/Table.hs +2/−2
airtable-api.cabal view
@@ -1,5 +1,5 @@ name: airtable-api-version: 0.2.0.0+version: 0.2.0.1 synopsis: Requesting and introspecting Tables within an Airtable project. -- description: homepage: https://github.com/ooblahman/airtable-api
src/Airtable/Table.hs view
@@ -100,11 +100,11 @@ where parseRec tbl json@(Object v) = do recId <- v .: "id"- obj <- parseJSON json+ fields <- v .: "fields"+ obj <- parseJSON fields return $ Map.insert recId obj tbl parseRec tbl invalid = typeMismatch "Table" invalid parseJSON invalid = typeMismatch "Table" invalid- parseRecord :: (UTCTime -> RecordID -> Value -> Parser a) -> Value -> Parser a parseRecord action (Object v) = do