diff --git a/lib/resources/brand.js b/lib/resources/brand.js index a7e6d9c..1f5baf7 100644 --- a/lib/resources/brand.js +++ b/lib/resources/brand.js @@ -30,16 +30,6 @@ let idKey = Symbol('id filed'); extend(this, data); } } -export class BrandUsecases extends PlivoResource { - constructor(client, data = {}) { - super(action, BrandUsecases, idField, client); - this[actionKey] = action; - this[clientKey] = client; - - extend(this, data); - } -} - export class BrandCreationResponse { constructor(params) { @@ -119,12 +109,11 @@ export class BrandCreationResponse { * get BrandUsecases by given id * @method * @param {string} brandID - id of brand - * @promise {object} return {@link BrandUsecases} object + * @promise {object} return {@link Brand} object * @fail {Error} return Error */ get_usecases(brandId) { - let params = {} - return super.customexecuteAction(action+brandId+'/usecases/', 'GET', params); + return super.customexecuteAction(action+brandId+'/usecases/', 'GET'); }