fix trouble redis

This commit is contained in:
Valentin CZERYBA 2022-06-13 23:07:36 +02:00
parent 180d25cfcb
commit d36a7f8e41
2 changed files with 2 additions and 3 deletions

View File

@ -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();
}

View File

@ -24,5 +24,4 @@ quarkus.mailer.mock=false
quarkus.redis.hosts=redis://localhost:6379
quarkus.redis.hosts=redis://localhost:6379