diff options
author | Simon Bartlett <simon@securitycompass.com> | 2015-02-06 22:16:34 -0500 |
---|---|---|
committer | Simon Bartlett <simon@securitycompass.com> | 2015-02-06 22:16:34 -0500 |
commit | a87d3bc9f6f42d02de806195c28f3e78f493c4c3 (patch) | |
tree | d242c6d971ea1774d5952fdb3ea575e96355339f /app/core/files.js | |
parent | 1a080580e1961bb5ef2b66c2246427588e8a8829 (diff) | |
download | lets-chat-a87d3bc9f6f42d02de806195c28f3e78f493c4c3.zip lets-chat-a87d3bc9f6f42d02de806195c28f3e78f493c4c3.tar.gz lets-chat-a87d3bc9f6f42d02de806195c28f3e78f493c4c3.tar.bz2 |
Files endpoint fix
Diffstat (limited to 'app/core/files.js')
-rw-r--r-- | app/core/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/core/files.js b/app/core/files.js index f4744cd..de57fa5 100644 --- a/app/core/files.js +++ b/app/core/files.js @@ -128,7 +128,7 @@ FileManager.prototype.list = function(options, cb) { } find - .limit(options.limit) + .limit(options.take) .exec(function(err, files) { if (err) { console.error(err); |