feat: add user plan to the user ticket info for admin
This commit is contained in:
@@ -175,7 +175,7 @@ export class SupportPlansService {
|
||||
async getUserSupportPlanOfUser(userId: string) {
|
||||
const userSupportPlan = await this.userSupportPlanRepo.findOne({
|
||||
where: { user: { id: userId }, status: UserSupportPlanStatus.ACTIVE },
|
||||
relations: { supportPlan: { features: true } },
|
||||
relations: { supportPlan: true },
|
||||
});
|
||||
|
||||
return { userSupportPlan };
|
||||
|
||||
Reference in New Issue
Block a user