We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76f0d6 commit f5d11a0Copy full SHA for f5d11a0
src/addon/mod/data/providers/sync.ts
@@ -208,7 +208,7 @@ export class AddonModDataSyncProvider extends CoreSyncBaseProvider {
208
}).then(() => {
209
if (result.updated) {
210
// Data has been sent to server. Now invalidate the WS calls.
211
- return this.dataProvider.invalidateContent(data.cmid, courseId, siteId).catch(() => {
+ return this.dataProvider.invalidateContent(data.coursemodule, courseId, siteId).catch(() => {
212
// Ignore errors.
213
});
214
}
0 commit comments