From c0223b10397128bb24fb156c948840149b187a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pol=20Escol=C3=A0=20Curc=C3=B3?= Date: Fri, 7 Jun 2024 13:02:12 +0200 Subject: [PATCH] added shelters and volunteers, also added a better mesage on volunteer from different shelter error --- .../cat/udl/eps/softarch/demo/config/DBInitialization.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cat/udl/eps/softarch/demo/config/DBInitialization.java b/src/main/java/cat/udl/eps/softarch/demo/config/DBInitialization.java index 6235332..d763d04 100644 --- a/src/main/java/cat/udl/eps/softarch/demo/config/DBInitialization.java +++ b/src/main/java/cat/udl/eps/softarch/demo/config/DBInitialization.java @@ -69,7 +69,7 @@ public void initializeDatabase() { Shelter shelter = new Shelter(); shelter.setName("shelter"); shelter.setEmail("shelter@sample.app"); - shelter.setMobile("999999990"); + shelter.setMobile("420420420"); shelter.setActive(true); shelterRepository.save(shelter); } @@ -77,7 +77,7 @@ public void initializeDatabase() { Shelter shelter = new Shelter(); shelter.setName("shelter1"); shelter.setEmail("shelter1@sample.app"); - shelter.setMobile("999999999"); + shelter.setMobile("420420421"); shelter.setActive(true); shelterRepository.save(shelter);