typo
This commit is contained in:
parent
fa65cee762
commit
01561b03b6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ postBuyR uId bId = do
|
|||
else do
|
||||
let price = quant * (beveragePrice bev)
|
||||
let sw = price > (userBalance user)
|
||||
today <- liftIO $ return utctDay =<< getCurrentTime
|
||||
today <- liftIO $ return . utctDay =<< getCurrentTime
|
||||
runDB $ do
|
||||
update uId [UserTimestamp =. today]
|
||||
update uId [UserBalance -=. price]
|
||||
|
|
Loading…
Reference in a new issue