taking the activity xid in get all submited ques ans
This commit is contained in:
@@ -1386,9 +1386,9 @@ export class HostService {
|
||||
})
|
||||
}
|
||||
|
||||
async getAllPQQQuesAndSubmittedAns() {
|
||||
async getAllPQQQuesAndSubmittedAns(activity_xid: number) {
|
||||
return await this.prisma.activityPQQheader.findMany({
|
||||
where: { isActive: true },
|
||||
where: { isActive: true, activityXid: activity_xid },
|
||||
include: {
|
||||
pqqQuestions: {
|
||||
select: {
|
||||
|
||||
Reference in New Issue
Block a user