hi, trying to pull the sub folders or files from root, but return object has always 0 as total_count. need some help, thanks.
Here is the code,
client.folders
.getItems('0', {
usemarker:false,
fields:'name',
offset:0,
limit:25,
})
.then((items) => {
console.log(items);
});
and here is the result
{
total_count: 0,
entries: [],
offset: 0,
limit: 25,
order: [
{ by: 'type', direction: 'ASC' },
{ by: 'name', direction: 'ASC' }
]
}
