aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Tomato/Data/Tomato.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Tomato/Data/Tomato.hs b/src/Tomato/Data/Tomato.hs
index e74f965..8090e03 100644
--- a/src/Tomato/Data/Tomato.hs
+++ b/src/Tomato/Data/Tomato.hs
@@ -6,7 +6,7 @@ module Tomato.Data.Tomato
import RIO
-import Data.Aeson ((.:), (.:!))
+import Data.Aeson ((.:))
import Network.HTTP.Req (Url, Scheme (Https), useHttpsURI)
import qualified Data.Aeson as Ae
@@ -32,7 +32,7 @@ instance Ae.FromJSON Tomato where
<*> o .: "height"
<*> o .: "color"
<*> o .: "blur_hash"
- <*> o .:! "description"
+ <*> o .: "description"
<*> o .: "urls"
<*> o .: "links"