forked from filipg/gonito
show message when extra points added
This commit is contained in:
parent
0243665bb0
commit
ffd746d51a
@ -20,6 +20,7 @@ postExtraPointsR = do
|
||||
now <- liftIO getCurrentTime
|
||||
let (Just (Entity adderId _)) = mUser
|
||||
_ <- runDB $ insert $ ExtraPoints points description userId courseId now adderId
|
||||
setMessage $ toHtml ("OK! Extra points added" :: Text)
|
||||
return ()
|
||||
_ -> do
|
||||
return ()
|
||||
|
Loading…
Reference in New Issue
Block a user