openfun / marsha

:clapper: An opensource LTI Learning Content Management System (LCMS)
MIT License
104 stars 24 forks source link

🐛(back) correctly send xapi statement to c configured LRS #2577

Closed lunika closed 2 months ago

lunika commented 2 months ago

Purpose

Since xAPI statements are build using a dedicated class, they return a dict directly usable as a statement. The XAPI.send method was still using the get_statement method that does not exists anymore. To fix this issue we can directly use the statement property set in the send method.

Proposal

Fix #2572