diff options
author | desperateCoder <echotodevnull@gmail.com> | 2020-08-07 16:08:53 +0300 |
---|---|---|
committer | desperateCoder <echotodevnull@gmail.com> | 2020-08-07 16:08:53 +0300 |
commit | 5d4e333773330872fdfdd7984213f94ef9da430d (patch) | |
tree | 7b0855f58e70b653d12425355a59c825944f3d7a /app | |
parent | 6ef5b91b4a583a79cabd79c69c579fb7f861defe (diff) |
adding missing return types
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/api/DeckAPI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/api/DeckAPI.java b/app/src/main/java/it/niedermann/nextcloud/deck/api/DeckAPI.java index 9883608c2..a303a8a33 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/api/DeckAPI.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/api/DeckAPI.java @@ -83,11 +83,11 @@ public interface DeckAPI { @FormUrlEncoded @PUT("boards/{boardId}/stacks/{stackId}/cards/{cardId}/assignLabel") - Observable assignLabelToCard(@Path("boardId") long boardId, @Path("stackId") long stackId, @Path("cardId") long cardId, @Field("labelId") long labelId); + Observable<Void> assignLabelToCard(@Path("boardId") long boardId, @Path("stackId") long stackId, @Path("cardId") long cardId, @Field("labelId") long labelId); @FormUrlEncoded @PUT("boards/{boardId}/stacks/{stackId}/cards/{cardId}/removeLabel") - Observable unassignLabelFromCard(@Path("boardId") long boardId, @Path("stackId") long stackId, @Path("cardId") long cardId, @Field("labelId") long labelId); + Observable<Void> unassignLabelFromCard(@Path("boardId") long boardId, @Path("stackId") long stackId, @Path("cardId") long cardId, @Field("labelId") long labelId); @FormUrlEncoded @PUT("boards/{boardId}/stacks/{stackId}/cards/{cardId}/assignUser") |