Skip to content

Commit fd89b66

Browse files
committed
BRD-20938 - change endpoint for registration progress on Scorm
1 parent 49eae8d commit fd89b66

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/scorm_engine/api/endpoints/registrations.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ def get_registration_progress(options = {})
163163
registration_id = options.delete(:registration_id)
164164
detail = !!options.delete(:detail)
165165

166-
url = "registrations/#{registration_id}/progress"
167-
url += "/detail" if detail
166+
# API v2 uses the base registration endpoint for both summary and detailed progress
167+
# The v2 endpoint includes activity details by default
168+
url = "registrations/#{registration_id}"
168169

169170
response = get(url, options)
170171

0 commit comments

Comments
 (0)