File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,10 @@ class DefaultUserPreferenceLimitService implements UserPreferenceLimitService {
10
10
/// {@macro default_user_preference_limit_service}
11
11
const DefaultUserPreferenceLimitService ({
12
12
required HtDataRepository <AppConfig > appConfigRepository,
13
- required HtDataRepository <UserContentPreferences >
14
- userContentPreferencesRepository,
15
- }) : _appConfigRepository = appConfigRepository,
16
- _userContentPreferencesRepository = userContentPreferencesRepository;
13
+ // Removed unused UserContentPreferencesRepository
14
+ }) : _appConfigRepository = appConfigRepository;
17
15
18
16
final HtDataRepository <AppConfig > _appConfigRepository;
19
- final HtDataRepository <UserContentPreferences >
20
- // ignore: unused_field
21
- _userContentPreferencesRepository;
22
17
23
18
// Assuming a fixed ID for the AppConfig document
24
19
static const String _appConfigId = 'app_config' ;
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ Handler middleware(Handler handler) {
259
259
// --- User Preference Limit Service --- // New
260
260
final userPreferenceLimitService = DefaultUserPreferenceLimitService (
261
261
appConfigRepository: appConfigRepository,
262
- userContentPreferencesRepository : userContentPreferencesRepository,
262
+ // Removed unused userContentPreferencesRepository parameter
263
263
);
264
264
print ('[MiddlewareSetup] DefaultUserPreferenceLimitService instantiated.' );
265
265
You can’t perform that action at this time.
0 commit comments