fix(list objects): fix without filtering

Fixes #19
This commit is contained in:
Julien Fontanet 2016-11-25 11:49:28 +01:00
parent ab48d06967
commit 729dbe16c0

View File

@ -297,7 +297,7 @@ function listObjects (args) {
}
: identity
var sieve = args.length && parseParameters(args)
var sieve = args.length ? parseParameters(args) : null
return connect().then(function getXoObjects (xo) {
return xo.call('xo.getAllObjects')