Skip to content

Commit 4e37bf8

Browse files
committed
Permit raw_command
This is to allow implementation of another feature that sends the raw_command, in addition to the parsed command, to the chatops server so the server can parse the command itself.
1 parent 82bf43a commit 4e37bf8

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)