diff --git a/src/addon/calendar/providers/calendar.ts b/src/addon/calendar/providers/calendar.ts index bfcb87110..40dcd2208 100644 --- a/src/addon/calendar/providers/calendar.ts +++ b/src/addon/calendar/providers/calendar.ts @@ -330,11 +330,11 @@ export class AddonCalendarProvider { getEventById(id: number, siteId?: string): Promise { return this.sitesProvider.getSite(siteId).then((site) => { const preSets = { - cacheKey: this.getEventCacheKey(id) + cacheKey: this.getEventCacheKey(id), + updateFrequency: CoreSite.FREQUENCY_RARELY }, data = { - eventid: id, - updateFrequency: CoreSite.FREQUENCY_RARELY + eventid: id }; return site.read('core_calendar_get_calendar_event_by_id', data, preSets).then((response) => {