diff --git a/src/core/features/course/services/course.ts b/src/core/features/course/services/course.ts index 7f05c23ae..2f0491916 100644 --- a/src/core/features/course/services/course.ts +++ b/src/core/features/course/services/course.ts @@ -137,7 +137,7 @@ export class CoreCourseProvider { this.viewedModulesTables = lazyMap( siteId => asyncInstance( - () => CoreSites.getSiteTable(COURSE_VIEWED_MODULES_TABLE, { + () => CoreSites.getSiteTable(COURSE_VIEWED_MODULES_TABLE, { siteId, config: { cachingStrategy: CoreDatabaseCachingStrategy.None }, primaryKeyColumns: ['courseId', 'cmId'], diff --git a/src/core/features/pushnotifications/services/pushnotifications.ts b/src/core/features/pushnotifications/services/pushnotifications.ts index 4413f8d33..bfcb5dbca 100644 --- a/src/core/features/pushnotifications/services/pushnotifications.ts +++ b/src/core/features/pushnotifications/services/pushnotifications.ts @@ -72,7 +72,7 @@ export class CorePushNotificationsProvider { this.logger = CoreLogger.getInstance('CorePushNotificationsProvider'); this.registeredDevicesTables = lazyMap( siteId => asyncInstance( - () => CoreSites.getSiteTable( + () => CoreSites.getSiteTable( REGISTERED_DEVICES_TABLE_NAME, { siteId, diff --git a/src/core/services/filepool.ts b/src/core/services/filepool.ts index 8303fb85d..f4f1fc764 100644 --- a/src/core/services/filepool.ts +++ b/src/core/services/filepool.ts @@ -113,7 +113,7 @@ export class CoreFilepoolProvider { this.logger = CoreLogger.getInstance('CoreFilepoolProvider'); this.filesTables = lazyMap( siteId => asyncInstance( - () => CoreSites.getSiteTable(FILES_TABLE_NAME, { + () => CoreSites.getSiteTable(FILES_TABLE_NAME, { siteId, config: { cachingStrategy: CoreDatabaseCachingStrategy.Lazy }, primaryKeyColumns: ['fileId'], @@ -123,7 +123,7 @@ export class CoreFilepoolProvider { ); this.linksTables = lazyMap( siteId => asyncInstance( - () => CoreSites.getSiteTable(LINKS_TABLE_NAME, { + () => CoreSites.getSiteTable(LINKS_TABLE_NAME, { siteId, config: { cachingStrategy: CoreDatabaseCachingStrategy.Lazy }, primaryKeyColumns: ['fileId', 'component', 'componentId'], @@ -133,7 +133,7 @@ export class CoreFilepoolProvider { ); this.packagesTables = lazyMap( siteId => asyncInstance( - () => CoreSites.getSiteTable(PACKAGES_TABLE_NAME, { + () => CoreSites.getSiteTable(PACKAGES_TABLE_NAME, { siteId, config: { cachingStrategy: CoreDatabaseCachingStrategy.Lazy }, onDestroy: () => delete this.packagesTables[siteId],