diff --git a/Handler/Summary.hs b/Handler/Summary.hs index eba3789..f70684e 100644 --- a/Handler/Summary.hs +++ b/Handler/Summary.hs @@ -80,7 +80,7 @@ instance FromJSON BevStore where <*> o .: "amount" <*> o .: "lost_amount" <*> o .: "max" - <*> o .: "totalBought" + <*> o .: "total_bought" <*> o .:? "perCrate" <*> o .: "alertAt" <*> o .: "ml"