Commit dedd77b2 authored by Anthi Oikonomou's avatar Anthi Oikonomou

Merge branch 'correct-course-exam-actions-endpoint' into 'master'

Correct course exam actions endpoint

See merge request !29
parents 8306d5ef bb2fa76d
......@@ -474,7 +474,7 @@ class CourseExam extends DataObject {
*/
@EdmMapping.func("actions",EdmType.CollectionOf("ExamDocumentUploadAction"))
getDocumentActions() {
return this.context.model('ExamDocumentUploadAction').where('object').equal(this.id);
return this.context.model('ExamDocumentUploadAction').where('object').equal(this.id).prepare();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment