From 87c560dcd79285310deb4a67a0b75e77c8d5d13b Mon Sep 17 00:00:00 2001 From: Arunesh700 Date: Tue, 13 Aug 2024 12:25:59 +0530 Subject: [PATCH] Optimized get quiz and assignment with status --- src/controller/progress/tracking.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controller/progress/tracking.service.ts b/src/controller/progress/tracking.service.ts index 8ddd493..013e36b 100644 --- a/src/controller/progress/tracking.service.ts +++ b/src/controller/progress/tracking.service.ts @@ -1490,7 +1490,8 @@ export class TrackingService { columns: { projectLink:true, isChecked:true, - grades:true + grades:true, + createdAt:true }, where: (projectTrack, { eq }) => eq(projectTrack.userId, userId) }