sending the host id in the get pqq details for am and corrected the error message in the submit pqq answer

This commit is contained in:
2026-01-07 16:03:27 +05:30
parent da4e2547ce
commit e65ed8babc
2 changed files with 19 additions and 3 deletions

View File

@@ -2051,6 +2051,19 @@ export class MinglarService {
id: true,
comments: true,
pqqAnswerXid: true,
activity: {
select: {
id: true,
activityTitle: true,
host: {
select: {
id: true,
companyName: true,
logoPath: true
}
}
}
},
pqqQuestions: {
select: {
id: true,
@@ -2120,6 +2133,9 @@ export class MinglarService {
id: cat.id,
categoryName: cat.categoryName,
displayOrder: cat.displayOrder,
hostId: item.activity.host.id,
hostCompanyName: item.activity.host.companyName,
hostLogoPath: item.activity.host.logoPath,
pqqsubCategories: [],
};
} else if (!grouped[cat.id].activityPqqHeaderId) {