From 8c5d6b49a990f088815d31ea21fd095bf18990d7 Mon Sep 17 00:00:00 2001 From: narayana Date: Thu, 14 Apr 2022 12:08:50 +0530 Subject: [PATCH] fixing list number --- lib/resources/campaign.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/resources/campaign.js b/lib/resources/campaign.js index 7256cc89..15768b44 100644 --- a/lib/resources/campaign.js +++ b/lib/resources/campaign.js @@ -168,8 +168,8 @@ export class LinkUnlinkNumberResponse { * @promise {object} returns {@link Campaign} object * @fail {Error} return Error */ - listNumber(campaignID, limit=10, offset=0) { - return super.customexecuteAction(action+campaignID+'/Number/?limit='+limit+'&offset='+offset, 'GET'); + listNumber(campaignID, params) { + return super.customexecuteAction(action+campaignID+'/Number/', 'GET', params); } /**