Skip to content

Commit 26e93a7

Browse files
authored
Merge pull request #59 from github/permit-raw-command-parameter
Permit raw_command
2 parents 82bf43a + 4e37bf8 commit 26e93a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/chatops/controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def setup_params!
5757

5858
@jsonrpc_params = params.delete(:params) if params.has_key? :params
5959

60-
self.params = params.permit(:action, :chatop, :controller, :id, :mention_slug, :message_id, :method, :room_id, :user)
60+
self.params = params.permit(:action, :chatop, :controller, :id, :mention_slug, :message_id, :method, :room_id, :user, :raw_command)
6161
end
6262

6363
def jsonrpc_params

0 commit comments

Comments
 (0)