diff --git a/src/addon/mod/forum/pages/discussion/discussion.ts b/src/addon/mod/forum/pages/discussion/discussion.ts index 7b5f6f6f1..7cf56cdf0 100644 --- a/src/addon/mod/forum/pages/discussion/discussion.ts +++ b/src/addon/mod/forum/pages/discussion/discussion.ts @@ -357,7 +357,7 @@ export class AddonModForumDiscussionPage implements OnDestroy { protected syncDiscussion(showErrors: boolean): Promise { const promises = []; - promises.push(this.forumSync.syncDiscussionReplies(this.forumId, this.discussionId).then((result) => { + promises.push(this.forumSync.syncDiscussionReplies(this.discussionId).then((result) => { if (result.warnings && result.warnings.length) { this.domUtils.showErrorModal(result.warnings[0]); }