mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
Update base.js
Change: all list function will print the meta object.
This commit is contained in:
parent
cb1b25774b
commit
bcf023aff6
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue