diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-04 20:36:55 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-04 20:36:55 -0700 |
| commit | 5bb42397569d7f0108178009c0c130128239ab34 (patch) | |
| tree | 25618c49b01bae816d7b87bb4b10e2efab18f891 /app/controllers | |
| parent | a4c55cad877844d8996ac7494ea91a922586a6d0 (diff) | |
add listen to watch filesystem.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/agents/files_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/agents/files_controller.rb b/app/controllers/agents/files_controller.rb index 9afd766..1d711e2 100644 --- a/app/controllers/agents/files_controller.rb +++ b/app/controllers/agents/files_controller.rb @@ -12,7 +12,7 @@ module Agents @file = Disposition.find_by(fingerprint: params[:id]) Publisher.publish("queries", { fingerprint: params[:id], - data: params + payload: params[:payload] }) end |
