diff --git a/src/main/java/com/covas/Resources/MailRessource.java b/src/main/java/com/covas/Resources/MailRessource.java index e475f9f..a157725 100644 --- a/src/main/java/com/covas/Resources/MailRessource.java +++ b/src/main/java/com/covas/Resources/MailRessource.java @@ -52,7 +52,7 @@ public class MailRessource { @GET @Path("get-redis/{id}") public Response getRedis(@PathParam("id") String id){ - return Response.ok().entity(redisClient.get(id)).build(); + return Response.ok().entity(redisClient.get(id).toString()).build(); } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 60ba02a..23993d9 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -24,5 +24,4 @@ quarkus.mailer.mock=false -quarkus.redis.hosts=redis://localhost:6379 - +quarkus.redis.hosts=redis://localhost:6379