mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
removed deleteMedia
This commit is contained in:
parent
3d5fd6eeee
commit
9c016e32a1
1 changed files with 0 additions and 8 deletions
|
|
@ -32,9 +32,6 @@ export class Message extends PlivoResource {
|
|||
listMedia() {
|
||||
return super.executeAction(this.id + '/Media/', 'Get', {});
|
||||
}
|
||||
deleteMedia() {
|
||||
return super.executeAction(this.id + '/Media/', 'Delete', {});
|
||||
}
|
||||
|
||||
}
|
||||
/**
|
||||
|
|
@ -150,9 +147,4 @@ export class MessageInterface extends PlivoResourceInterface {
|
|||
}).listMedia();
|
||||
}
|
||||
|
||||
deleteMedia(messageUUID) {
|
||||
return new Message(this[clientKey], {
|
||||
id: messageUUID
|
||||
}).deleteMedia();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue