mirror of
https://github.com/donl/plivo-node.git
synced 2026-05-25 22:07:10 -06:00
buy number api
This commit is contained in:
parent
8c728cab05
commit
0072815541
1 changed files with 2 additions and 2 deletions
|
|
@ -80,10 +80,10 @@ export class PhoneNumber extends PlivoResource {
|
|||
* @promise {@link PlivoGenericResponse} return PlivoGenericResponse Object if success
|
||||
* @fail {Error} return Error
|
||||
*/
|
||||
buy(appId) {
|
||||
buy(number,appId) {
|
||||
return new PhoneNumberInterface(this[clientKey], {
|
||||
id: this.id
|
||||
}).buy(appId);
|
||||
}).buy(number,appId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue