cliente por defecto en rol 1
Some checks failed
Deploy Spring Boot App / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-02-14 12:18:38 -04:00
parent a6a3b5a971
commit 8890b72f19

View File

@@ -33,7 +33,7 @@ public class AppController {
return ResponseEntity.status(HttpStatus.CONFLICT).body("Usuario ya existe ❌");
}
usuarioService.registrarUsuario(username, password, Set.of(Rol.CLIENTE));
usuarioService.registrarUsuario(username, password, Set.of(Rol.CLIENTE), 1L);
return ResponseEntity.ok("Usuario registrado, pendiente de aprobación ✅");
}