mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
Adding api id to list conferences API
This commit is contained in:
parent
324a8139b4
commit
182c72eaf8
2 changed files with 3 additions and 3 deletions
|
|
@ -326,7 +326,7 @@ export class ConferenceInterface extends PlivoResourceInterface {
|
|||
name: conference
|
||||
}));
|
||||
});
|
||||
resolve(conferences);
|
||||
resolve(response.body);
|
||||
})
|
||||
.catch(error => {
|
||||
reject(error);
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ describe('Conference', function () {
|
|||
|
||||
it('should get all conferences', function () {
|
||||
return client.conferences.list()
|
||||
.then(function(conferences) {
|
||||
assert.equal(conferences[0].name, 'My Conf Room' )
|
||||
.then(function(response) {
|
||||
assert.equal(response.conferences[0], 'My Conf Room' )
|
||||
})
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue