From 8b5b33ec82713027b354ba491091813426dcc2c2 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Wed, 27 Mar 2019 18:03:36 +0100 Subject: [PATCH] MOBILE-2915 forum: Fix discussion sync --- src/addon/mod/forum/pages/discussion/discussion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); }