fix: distribute saldo partner from admin
This commit is contained in:
@@ -157,7 +157,10 @@ export class UsersService {
|
||||
async findByUsername(username: string) {
|
||||
try {
|
||||
return await this.usersRepository.findOneOrFail({
|
||||
username: username,
|
||||
where: {
|
||||
username: username,
|
||||
},
|
||||
relations: ['roles'],
|
||||
});
|
||||
} catch (e) {
|
||||
if (e instanceof EntityNotFoundError) {
|
||||
|
||||
Reference in New Issue
Block a user