chore: remove debug messages
This commit is contained in:
parent
56c26f3e51
commit
664c915065
@ -58,7 +58,6 @@ postCFavouriteR tid ssh csh = void $ do
|
||||
Just (Just FavouriteManual, False, False) -> (Nothing, True)
|
||||
Just (_reason, False, False) -> (Just FavouriteManual, False)
|
||||
-- change stored reason in DB
|
||||
before <- storedFavouriteReason tid ssh csh muid
|
||||
if blacklist
|
||||
then do
|
||||
E.deleteBy $ UniqueCourseFavourite uid cid
|
||||
@ -75,11 +74,6 @@ postCFavouriteR tid ssh csh = void $ do
|
||||
-- [CourseFavouriteReason E.=. E.val reason]
|
||||
Nothing -> E.deleteBy $ UniqueCourseFavourite uid cid
|
||||
E.deleteBy $ UniqueCourseNoFavourite uid cid
|
||||
after <- storedFavouriteReason tid ssh csh muid
|
||||
liftIO $ do
|
||||
putStrLn $ "before: " <> pack (show before)
|
||||
putStrLn $ "after: " <> pack (show after)
|
||||
print (maybeReason, blacklist)
|
||||
| otherwise -> pure ()
|
||||
-- show course page again
|
||||
redirect $ CourseR tid ssh csh CShowR
|
||||
|
||||
Loading…
Reference in New Issue
Block a user