From 53d3459fc1e7cceac7f28b9fd9299584d87dde61 Mon Sep 17 00:00:00 2001 From: Umberto Furno Date: Tue, 12 Nov 2019 12:17:39 +0100 Subject: [PATCH] modufy params --- wrapper/src/main/java/wekan/wrapper/api/CardService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrapper/src/main/java/wekan/wrapper/api/CardService.java b/wrapper/src/main/java/wekan/wrapper/api/CardService.java index 8786152..19f5e96 100644 --- a/wrapper/src/main/java/wekan/wrapper/api/CardService.java +++ b/wrapper/src/main/java/wekan/wrapper/api/CardService.java @@ -37,7 +37,7 @@ public interface CardService { * @return the card with matching ID */ @POST("/api/boards/{board}/lists/{list}/cards") - Call newCard(@Body Card card, @Path("board") String boardID, @Path("list") String listID); + Call newCard(@Path("board") String boardID, @Path("list") String listID, @Body Card card); /** * Get information card @@ -69,6 +69,6 @@ public interface CardService { */ @Headers("Content-Type: application/merge-patch+json") @PUT("/api/boards/{board}/lists/{list}/cards/{card}") - Call putCard(@Body Card card, @Path("board") String boardID, @Path("list") String listID, - @Path("card") String cardID); + Call putCard(@Path("board") String boardID, @Path("list") String listID, + @Path("card") String cardID, @Body Card card); }