Skip to content

Commit

Permalink
remove validation for channel prefix to allow for tokens or other val…
Browse files Browse the repository at this point in the history
…ues to be used
  • Loading branch information
ziegfried committed Dec 11, 2020
1 parent 0d17ed3 commit 9648060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/default/restmap.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[validation:savedsearch]
action.slack.param.channel = validate( match('action.slack.param.channel', "^[#@]"), "Slack channel is invalid (must start with # or @)")
action.slack = case('action.slack' != "1", null(), 'action.slack.param.channel' == "action.slack.param.channel" OR 'action.slack.param.channel' == "", "Channel cannot be empty", 1==1, null())

0 comments on commit 9648060

Please sign in to comment.