copywith y nickname

This commit is contained in:
Felipe
2024-02-22 11:56:41 -05:00
parent 113937df56
commit 37b6665002
8 changed files with 46 additions and 17 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class SignUpBloc extends Bloc<SignUpEvent, SignUpState> {
SignUpRequired event, Emitter<SignUpState> emit) async {
emit(SignUpProcess());
try {
MyUser user = await _userRepository.signUp(event.email, event.password);
MyUser user = await _userRepository.signUp(event.user, event.password);
await _userRepository.setUserData(user);
emit(SignUpSuccess());
} catch (e) {