remove subscription endpoint
This commit is contained in:
@@ -29,7 +29,10 @@ def get_scorm(enrollment_id: str):
|
||||
if not enrollment:
|
||||
raise NotFoundError('Enrollment not found')
|
||||
|
||||
spec = {'id': 'course.id', 'scormset': 'course.scormset'}
|
||||
spec = {
|
||||
'id': 'course.id',
|
||||
'scormset': 'course.scormset',
|
||||
}
|
||||
course_id, scormset_id = glom(enrollment, spec).values()
|
||||
scormset = dyn.collection.get_item(
|
||||
KeyPair(course_id, f'SCORMSET#{scormset_id}'),
|
||||
|
||||
Reference in New Issue
Block a user