review fix

This commit is contained in:
NirmitiJain 2022-10-26 22:06:14 +05:30
parent 12ecb5b428
commit 5e2afbdf3b

View file

@ -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');
}