From ba50789fbeb107b4fab5d87c4260ea523dcc309a Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Sat, 16 Feb 2019 13:45:58 +0100 Subject: [PATCH] Trying to fix the issue with Slack hook --- Handler/ShowChallenge.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Handler/ShowChallenge.hs b/Handler/ShowChallenge.hs index a4e9adf..7f972bb 100644 --- a/Handler/ShowChallenge.hs +++ b/Handler/ShowChallenge.hs @@ -346,6 +346,7 @@ doCreateSubmission userId challengeId mDescription mTags repoSpec chan = do ++ " :clap:") msg chan message case appNewBestResultSlackHook $ appSettings app of + Just "" -> return () Just hook -> liftIO $ runSlackHook hook message Nothing -> return ()