diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-09 19:56:40 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-09 19:56:40 -0700 |
| commit | 99eb8e0e8ba68bfdc6f97d58af2e7a1d7ba2e3ba (patch) | |
| tree | fb5ac3af279e5fa25d1a3745df194fc350bdd8f6 /app/controllers | |
| parent | 9061437f38cd7d4775fc4599e8c557fda9ed4743 (diff) | |
specifiy correct agent id in lookup event.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/api/agents/files_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/agents/files_controller.rb b/app/controllers/api/agents/files_controller.rb index fd7410c..1329d04 100644 --- a/app/controllers/api/agents/files_controller.rb +++ b/app/controllers/api/agents/files_controller.rb @@ -10,7 +10,7 @@ module Api @fingerprint = params[:id] @file = Disposition.find_by(fingerprint: params[:id]) message = { - agent_id: params[:id], + agent_id: @agent.id, type: :lookup, data: params[:data] } |
