MOBILE-3320 feedback: Fix new feedbacks not downloadable

main
Dani Palou 2021-06-16 14:53:51 +02:00
parent 84d80500e8
commit fae349a96d
1 changed files with 1 additions and 3 deletions

View File

@ -93,9 +93,7 @@ export class AddonModFeedbackPrefetchHandlerService extends CoreCourseActivityPr
* @inheritdoc
*/
async isDownloadable(module: CoreCourseAnyModuleData, courseId: number): Promise<boolean> {
const feedback = await AddonModFeedback.getFeedback(courseId, module.id, {
readingStrategy: CoreSitesReadingStrategy.PREFER_CACHE,
});
const feedback = await AddonModFeedback.getFeedback(courseId, module.id);
const now = CoreTimeUtils.timestamp();