Add comment function

This commit is contained in:
Nezumi
2023-03-28 20:44:30 +07:00
parent d38434952f
commit 14db095a9e
16 changed files with 259 additions and 45 deletions
@@ -89,4 +89,7 @@ public interface FoodApiToken {
@DELETE("products/{productId}/comments/{commentId}")
Call<CustomResponse> deleteComment(@Path("productId") int productId, @Path("commentId") int commentId);
@PUT("products/{productId}/comments/{commentId}")
Call<CustomResponse> updateComment(@Path("productId") int productId, @Path("commentId") int commentId, @Body Comment comment);
}