myassetsService.js
440 Bytes
import BaseService from '../../libs/services/baseService.js';
const UFO_ASSETS_LIST = 'ufo.asssets.details';
export default class MyAssetsService extends BaseService {
async getAssetsList(params, complete) {
return await this.GET(
{
...params,
method: UFO_ASSETS_LIST
},
{
complete
}
).then((data) => {
return data;
}).catch((error) => {
return error;
})
}
}