@@ -49,7 +49,7 @@ class AppDependencies {
49
49
late final HtDataRepository <User > userRepository;
50
50
late final HtDataRepository <UserAppSettings > userAppSettingsRepository;
51
51
late final HtDataRepository <UserContentPreferences >
52
- userContentPreferencesRepository;
52
+ userContentPreferencesRepository;
53
53
late final HtDataRepository <RemoteConfig > remoteConfigRepository;
54
54
late final HtEmailRepository emailRepository;
55
55
@@ -134,12 +134,12 @@ class AppDependencies {
134
134
);
135
135
final userContentPreferencesClient =
136
136
HtDataMongodb <UserContentPreferences >(
137
- connectionManager: _mongoDbConnectionManager,
138
- modelName: 'user_content_preferences' ,
139
- fromJson: UserContentPreferences .fromJson,
140
- toJson: (item) => item.toJson (),
141
- logger: Logger ('HtDataMongodb<UserContentPreferences>' ),
142
- );
137
+ connectionManager: _mongoDbConnectionManager,
138
+ modelName: 'user_content_preferences' ,
139
+ fromJson: UserContentPreferences .fromJson,
140
+ toJson: (item) => item.toJson (),
141
+ logger: Logger ('HtDataMongodb<UserContentPreferences>' ),
142
+ );
143
143
final remoteConfigClient = HtDataMongodb <RemoteConfig >(
144
144
connectionManager: _mongoDbConnectionManager,
145
145
modelName: 'remote_configs' ,
@@ -154,12 +154,13 @@ class AppDependencies {
154
154
sourceRepository = HtDataRepository (dataClient: sourceClient);
155
155
countryRepository = HtDataRepository (dataClient: countryClient);
156
156
userRepository = HtDataRepository (dataClient: userClient);
157
- userAppSettingsRepository =
158
- HtDataRepository (dataClient: userAppSettingsClient);
159
- userContentPreferencesRepository =
160
- HtDataRepository (dataClient: userContentPreferencesClient);
161
- remoteConfigRepository =
162
- HtDataRepository (dataClient: remoteConfigClient);
157
+ userAppSettingsRepository = HtDataRepository (
158
+ dataClient: userAppSettingsClient,
159
+ );
160
+ userContentPreferencesRepository = HtDataRepository (
161
+ dataClient: userContentPreferencesClient,
162
+ );
163
+ remoteConfigRepository = HtDataRepository (dataClient: remoteConfigClient);
163
164
164
165
final emailClient = HtEmailInMemoryClient (
165
166
logger: Logger ('HtEmailInMemoryClient' ),
@@ -176,8 +177,7 @@ class AppDependencies {
176
177
uuidGenerator: const Uuid (),
177
178
log: Logger ('JwtAuthTokenService' ),
178
179
);
179
- verificationCodeStorageService =
180
- InMemoryVerificationCodeStorageService ();
180
+ verificationCodeStorageService = InMemoryVerificationCodeStorageService ();
181
181
permissionService = const PermissionService ();
182
182
authService = AuthService (
183
183
userRepository: userRepository,
@@ -219,4 +219,4 @@ class AppDependencies {
219
219
_isInitialized = false ;
220
220
_log.info ('Application dependencies disposed.' );
221
221
}
222
- }
222
+ }
0 commit comments