fix: order history and add filter

This commit is contained in:
2021-12-29 09:23:33 +07:00
parent e882237a8a
commit 2948462ff8
3 changed files with 29 additions and 5 deletions

View File

@@ -238,7 +238,7 @@ export class UsersService {
where: {
id: id,
},
relations: ['superior'],
relations: ['superior','roles'],
});
} catch (e) {
if (e instanceof EntityNotFoundError) {