diff --git a/js/h5p.js b/js/h5p.js index 934d8f6..06f5ccb 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -1609,8 +1609,7 @@ H5P.setFinished = function (contentId, score, maxScore, time) { }; // Post the results - // TODO: Should we use a variable with the complete path? - H5P.jQuery.post(H5PIntegration.ajaxPath + 'setFinished', { + H5P.jQuery.post(H5PIntegration.ajax.setFinished, { contentId: contentId, score: score, maxScore: maxScore,