Trying to fix the issue with Slack hook
This commit is contained in:
parent
c52b613ac4
commit
ba50789fbe
@ -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 ()
|
||||||
|
Loading…
Reference in New Issue
Block a user