mirror of
https://github.com/Nezumi-2711/Foodify.git
synced 2026-09-23 04:09:52 +00:00
Add comment function
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user