1
0
Эх сурвалжийг харах

Merge pull request #2694 from whtsky/slack_dryrun

Allow slack agent to dry run
Akinori MUSHA 5 жил өмнө
parent
commit
df859ae009

+ 1 - 0
app/models/agents/slack_agent.rb

@@ -3,6 +3,7 @@ module Agents
     DEFAULT_USERNAME = 'Huginn'
     ALLOWED_PARAMS = ['channel', 'username', 'unfurl_links', 'attachments']
 
+    can_dry_run!
     cannot_be_scheduled!
     cannot_create_events!
     no_bulk_receive!