diff --git a/src/endpoints/get_tasks.rs b/src/endpoints/get_tasks.rs index fa439c4a..54e8a345 100644 --- a/src/endpoints/get_tasks.rs +++ b/src/endpoints/get_tasks.rs @@ -22,6 +22,7 @@ pub struct UserTask { verify_redirect: Option, desc: String, completed: bool, + quiz_name: Option, } #[derive(Deserialize)] @@ -74,6 +75,7 @@ pub async fn handler( "verify_endpoint_type": 1, "desc": 1, "completed": { "$gt": [ { "$size": "$completed" }, 0 ] }, + "quiz_name": 1, } }, ];