From bcf023aff6857c67697d3756435c0eaf16df4bd1 Mon Sep 17 00:00:00 2001 From: Narayana Shanubhogh <40889842+narayana-plivo@users.noreply.github.com> Date: Wed, 13 Nov 2019 12:32:01 +0530 Subject: [PATCH] Update base.js Change: all list function will print the meta object. --- lib/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); });