@@ -116,10 +116,8 @@ class AuthService {
116116 id: currentAuthUser.id,
117117 userId: currentAuthUser.id,
118118 );
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);
123121 print (
124122 'Fetched existing settings and preferences for anonymous user '
125123 '${currentAuthUser .id }.' ,
@@ -144,7 +142,9 @@ class AuthService {
144142 role: UserRole .standardUser,
145143 );
146144 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+ );
148148
149149 // Update or create UserAppSettings for the now-permanent user
150150 if (existingAppSettings != null ) {
@@ -228,7 +228,9 @@ class AuthService {
228228 'Failed to find, create, or migrate user account.' ,
229229 );
230230 } 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+ );
232234 throw const OperationFailedException ('Failed to process user account.' );
233235 }
234236
0 commit comments