From 99eb8e0e8ba68bfdc6f97d58af2e7a1d7ba2e3ba Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 9 Feb 2015 19:56:40 -0700 Subject: specifiy correct agent id in lookup event. --- app/controllers/api/agents/files_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] } -- cgit v1.2.3