From 3f702863f74b741a5d582440eca9fadad9c6a83d Mon Sep 17 00:00:00 2001 From: barreiro Date: Wed, 23 Oct 2024 03:15:01 +0100 Subject: [PATCH] Fix RunService in java client --- .../io/hyperfoil/tools/horreum/api/client/RunService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/horreum-client/src/main/java/io/hyperfoil/tools/horreum/api/client/RunService.java b/horreum-client/src/main/java/io/hyperfoil/tools/horreum/api/client/RunService.java index 25c8ae543..a563e3505 100644 --- a/horreum-client/src/main/java/io/hyperfoil/tools/horreum/api/client/RunService.java +++ b/horreum-client/src/main/java/io/hyperfoil/tools/horreum/api/client/RunService.java @@ -74,9 +74,9 @@ void updateAccess(@PathParam("id") int id, @QueryParam("access") Access access); @POST - @Path("test/{test}") + @Path("test") @Consumes(MediaType.APPLICATION_JSON) - Response add(@PathParam("test") String testNameOrId, + Response add(@QueryParam("test") String testNameOrId, @QueryParam("owner") String owner, @QueryParam("access") Access access, @QueryParam("token") String token,