diff --git a/lib/base.js b/lib/base.js index aa7701b..4597b8e 100644 --- a/lib/base.js +++ b/lib/base.js @@ -113,7 +113,7 @@ export class PlivoResourceInterface { client('GET', action, params) .then(response => { let objects = []; - Object.defineProperty(objects, 'meta', { value: response.body.meta }); + Object.defineProperty(objects, 'meta', { value: response.body.meta, enumerable: true }); response.body.objects.forEach(item => { objects.push(new Klass(client, item)); });