summaryrefslogtreecommitdiffstats
path: root/app/core/files.js
diff options
context:
space:
mode:
authorSimon Bartlett <simon@securitycompass.com>2015-02-06 22:16:34 -0500
committerSimon Bartlett <simon@securitycompass.com>2015-02-06 22:16:34 -0500
commita87d3bc9f6f42d02de806195c28f3e78f493c4c3 (patch)
treed242c6d971ea1774d5952fdb3ea575e96355339f /app/core/files.js
parent1a080580e1961bb5ef2b66c2246427588e8a8829 (diff)
downloadlets-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.js2
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);