diff options
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 9b3f1c8..f9ef61d 100644 --- a/app/core/files.js +++ b/app/core/files.js @@ -127,7 +127,7 @@ FileManager.prototype.list = function(options, cb) { } if (options.expand) { - var includes = options.expand.split(','); + var includes = options.expand.replace(/\s/, '').split(','); if (_.includes(includes, 'owner')) { find.populate('owner', 'id username displayName email avatar'); |