diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-04 21:37:33 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-04 21:37:35 -0700 |
| commit | a872caa38178108b6afed3a4fe67eb5effca2320 (patch) | |
| tree | faa9cc2579e27e12f8b551bb67299ca38f426229 /app/controllers/agents/files_controller.rb | |
| parent | 4e715a26fcae00f8419fe60482c4e105190ce3e7 (diff) | |
make message formats consistent.
Diffstat (limited to 'app/controllers/agents/files_controller.rb')
| -rw-r--r-- | app/controllers/agents/files_controller.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/controllers/agents/files_controller.rb b/app/controllers/agents/files_controller.rb index 1d711e2..c25e23e 100644 --- a/app/controllers/agents/files_controller.rb +++ b/app/controllers/agents/files_controller.rb @@ -11,8 +11,9 @@ module Agents def show @file = Disposition.find_by(fingerprint: params[:id]) Publisher.publish("queries", { - fingerprint: params[:id], - payload: params[:payload] + agent_id: params[:id], + name: params[:name], + data: params[:data] }) end |
