MOBILE-3021 calendar: Fix day view events
parent
aa3e894248
commit
cb1839db71
|
@ -998,7 +998,7 @@ export class AddonCalendarProvider {
|
||||||
return site.read('core_calendar_get_calendar_day_view', data, preSets).then((response) => {
|
return site.read('core_calendar_get_calendar_day_view', data, preSets).then((response) => {
|
||||||
this.storeEventsInLocalDB(response.events, siteId);
|
this.storeEventsInLocalDB(response.events, siteId);
|
||||||
|
|
||||||
return response.events;
|
return response;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue