summaryrefslogtreecommitdiff
path: root/src/Data/Torrent.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Torrent.hs')
-rw-r--r--src/Data/Torrent.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Torrent.hs b/src/Data/Torrent.hs
index 8d62b068..2733956c 100644
--- a/src/Data/Torrent.hs
+++ b/src/Data/Torrent.hs
@@ -203,7 +203,7 @@ instance ToJSON NominalDiffTime where
203instance FromJSON NominalDiffTime where 203instance FromJSON NominalDiffTime where
204 parseJSON v = utcTimeToPOSIXSeconds <$> parseJSON v 204 parseJSON v = utcTimeToPOSIXSeconds <$> parseJSON v
205 205
206$(deriveToJSON (L.map Char.toLower . L.dropWhile isLower) ''Torrent) 206$(deriveJSON (L.map Char.toLower . L.dropWhile isLower) ''Torrent)
207 207
208makeLensesFor 208makeLensesFor
209 [ ("tAnnounce" , "announce" ) 209 [ ("tAnnounce" , "announce" )