Skip to content

Commit

Permalink
update linkNumber req payload
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruv-chauhan committed Apr 13, 2022
1 parent 23fbb1f commit 57cf09c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/resources/campaign.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,13 @@ export class LinkUnlinkNumberResponse {
* linkNumber link number to Campaign
* @method
* @param {string} campaignID
* @param {string} number
* @param {list} numbers
* @promise {object} return {@link Campaign} object
* @fail {Error} return Error
*/
linkNumber(campaignID, number) {
linkNumber(campaignID, numbers) {
let params = {}
params.number=number;
params.numbers=numbers;
let client = this[clientKey];
return new Promise((resolve, reject) => {
client('POST', action+campaignID+'/Number/', params)
Expand Down

0 comments on commit 57cf09c

Please sign in to comment.