fb 0.13.3 → 0.13.4
raw patch · 2 files changed
+4/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- fb.cabal +1/−1
- src/Facebook/Types.hs +3/−0
fb.cabal view
@@ -1,5 +1,5 @@ name: fb-version: 0.13.3+version: 0.13.4 license: BSD3 license-file: LICENSE author: Felipe Lessa
src/Facebook/Types.hs view
@@ -104,6 +104,9 @@ where from i = TL.toStrict $ TLB.toLazyText $ TLBI.decimal (i :: Int64) parseJSON o = fail $ "Can't parse Facebook.Id from " ++ show o +instance A.ToJSON Id where+ toJSON (Id t) = A.String t+ -- | A Facebook user ID such as @1008905713901@. type UserId = Id