diff --git a/src/addons/mod/quiz/services/quiz-sync.ts b/src/addons/mod/quiz/services/quiz-sync.ts index 77ce8beff..a6741fae5 100644 --- a/src/addons/mod/quiz/services/quiz-sync.ts +++ b/src/addons/mod/quiz/services/quiz-sync.ts @@ -188,11 +188,11 @@ export class AddonModQuizSyncProvider extends CoreCourseActivitySyncBaseProvider /** * Sync all quizzes on a site. * - * @param siteId Site ID to sync. * @param force Wether to force sync not depending on last execution. + * @param siteId Site ID to sync. * @param Promise resolved if sync is successful, rejected if sync fails. */ - protected async syncAllQuizzesFunc(siteId: string, force: boolean): Promise { + protected async syncAllQuizzesFunc(force: boolean, siteId: string): Promise { // Get all offline attempts. const attempts = await AddonModQuizOffline.getAllAttempts(siteId);