diff options
| author | Florian Gamböck <mail@floga.de> | 2016-08-06 12:39:40 +0200 |
|---|---|---|
| committer | Florian Gamböck <mail@floga.de> | 2016-08-06 12:39:40 +0200 |
| commit | 98f773f3fab316002d5d36ec27a7d3a65b6aa51d (patch) | |
| tree | 0acacdf100b7e84ac741a3b6ddc7d1203c74248e | |
| parent | e39e1e11a49555840962bb3b8e84e97999cbbd5d (diff) | |
aria2mon: Add secret parameter to getFiles call
| -rwxr-xr-x | doc/xmlrpc/aria2mon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/xmlrpc/aria2mon b/doc/xmlrpc/aria2mon index 01b3eab8..e76ef0d2 100755 --- a/doc/xmlrpc/aria2mon +++ b/doc/xmlrpc/aria2mon @@ -140,7 +140,7 @@ result.each { |entry| end print "\n" - files=client_call(client,"aria2.getFiles",entry['gid']) + files=client_call(client,secret,"aria2.getFiles",entry['gid']) if files.length > 0 then first_file=files.find{|file| file["selected"]=="true"} if first_file != nil then |
