Trying to fix the issue with Slack hook

This commit is contained in:
Filip Gralinski 2019-02-16 13:45:58 +01:00
parent c52b613ac4
commit ba50789fbe

View File

@ -346,6 +346,7 @@ doCreateSubmission userId challengeId mDescription mTags repoSpec chan = do
++ " :clap:") ++ " :clap:")
msg chan message msg chan message
case appNewBestResultSlackHook $ appSettings app of case appNewBestResultSlackHook $ appSettings app of
Just "" -> return ()
Just hook -> liftIO $ runSlackHook hook message Just hook -> liftIO $ runSlackHook hook message
Nothing -> return () Nothing -> return ()