diff --git a/src/app/default/restmap.conf b/src/app/default/restmap.conf index 44d6526..3f82257 100644 --- a/src/app/default/restmap.conf +++ b/src/app/default/restmap.conf @@ -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.param.channel = validate(len(trim('action.slack.param.channel')) > 0), "Channel cannot be empty") \ No newline at end of file