From 93144d103e779cb63eb1c8778db189e189d109f0 Mon Sep 17 00:00:00 2001 From: rys ostrovid Date: Sat, 4 Feb 2017 18:53:06 +0100 Subject: [PATCH] Update Summary.hs use snake case for conformity --- Handler/Summary.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"