diff --git a/app/src/main/java/com/example/nemophila/resources/AccountsRest.java b/app/src/main/java/com/example/nemophila/resources/AccountsRest.java index 02a6203..83ab4a8 100644 --- a/app/src/main/java/com/example/nemophila/resources/AccountsRest.java +++ b/app/src/main/java/com/example/nemophila/resources/AccountsRest.java @@ -65,6 +65,14 @@ @Field("token") String token ); + @FormUrlEncoded + @PUT("accounts/{uid}/icon") + Call changeIcon( + @Path("uid") String uid, + @Field("name") String icon, + @Field("token") String token + ); + @GET("accounts/{uid}/posts") Call> getAccountPosts( @Path("uid") String uid