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 1fce59e..e5bcc24 100644 --- a/app/src/main/java/com/example/nemophila/resources/AccountsRest.java +++ b/app/src/main/java/com/example/nemophila/resources/AccountsRest.java @@ -49,7 +49,9 @@ @PUT("accounts/{uid}/pw") Call changePw( @Path("uid") String uid, - @Field("oldPw") String oldPw + @Field("oldPw") String oldPw, + @Field("newPw") String newPw, + @Field("token") String token ); @FormUrlEncoded @@ -59,23 +61,4 @@ @Field("name") String oldPw, @Field("token") String token ); - - @FormUrlEncoded - @POST("accounts/{uid}/posts") - Call postAccountPost( - @Path("uid") String uid, - @Field("token") String token, - @Field("sid") String sid, - @Field("rate") String rate, - @Field("genre") String genre, - @Field("comment")String comment, - @Field("image1") String img1, - @Field("image2") String img2, - @Field("image3") String img3 - ); - - @GET("accounts/{uid}/posts") - Call> getAccountPosts( - @Path("uid") String uid - ); }