@@ -116,10 +116,8 @@ class AuthService {
116
116
id: currentAuthUser.id,
117
117
userId: currentAuthUser.id,
118
118
);
119
- existingUserPreferences = await _userContentPreferencesRepository.read (
120
- id: currentAuthUser.id,
121
- userId: currentAuthUser.id,
122
- );
119
+ existingUserPreferences = await _userContentPreferencesRepository
120
+ .read (id: currentAuthUser.id, userId: currentAuthUser.id);
123
121
print (
124
122
'Fetched existing settings and preferences for anonymous user '
125
123
'${currentAuthUser .id }.' ,
@@ -144,7 +142,9 @@ class AuthService {
144
142
role: UserRole .standardUser,
145
143
);
146
144
user = await _userRepository.update (id: user.id, item: user);
147
- print ('Updated anonymous user ${user .id } to permanent with email $email .' );
145
+ print (
146
+ 'Updated anonymous user ${user .id } to permanent with email $email .' ,
147
+ );
148
148
149
149
// Update or create UserAppSettings for the now-permanent user
150
150
if (existingAppSettings != null ) {
@@ -228,7 +228,9 @@ class AuthService {
228
228
'Failed to find, create, or migrate user account.' ,
229
229
);
230
230
} catch (e) {
231
- print ('Unexpected error during user lookup/creation/migration for $email : $e ' );
231
+ print (
232
+ 'Unexpected error during user lookup/creation/migration for $email : $e ' ,
233
+ );
232
234
throw const OperationFailedException ('Failed to process user account.' );
233
235
}
234
236
0 commit comments