fix trouble redis
This commit is contained in:
parent
180d25cfcb
commit
d36a7f8e41
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
@ -25,4 +25,3 @@ quarkus.mailer.mock=false
|
||||
|
||||
|
||||
quarkus.redis.hosts=redis://localhost:6379
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user