- logs in find all coa by user
This commit is contained in:
@@ -443,6 +443,7 @@ export class UsersService {
|
||||
|
||||
])
|
||||
.getOne();
|
||||
console.log('coamsk11', 'coa')
|
||||
const coa = await this.coaService.findByUser(id, coaType.WALLET);
|
||||
let coaProfit;
|
||||
|
||||
@@ -450,6 +451,7 @@ export class UsersService {
|
||||
userData.roles.id != 'e4dfb6a3-2338-464a-8fb8-5cbc089d4209' &&
|
||||
userData.roles.id != '21dceea2-416e-4b55-b74c-12605e1f8d1b'
|
||||
) {
|
||||
console.log('coamsk12', 'coa')
|
||||
coaProfit = await this.coaService.findByUser(id, coaType.PROFIT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user