mirror of
https://github.com/Nezumi-2711/Foodify.git
synced 2026-09-23 04:09:52 +00:00
Fix bug and create order complete
This commit is contained in:
@@ -81,7 +81,7 @@ public interface FoodApiToken {
|
||||
@DELETE("users/{userId}/addresses/{addressId}")
|
||||
Call<CustomResponse> deleteAddressUser(@Path("userId") int userId, @Path("addressId") int addressId);
|
||||
|
||||
@POST("user/{userId}/orders")
|
||||
@POST("users/{userId}/orders")
|
||||
Call<Order> createOrder(@Path("userId") int userId, @Body Order order);
|
||||
|
||||
@POST("products/{productId}/comments")
|
||||
|
||||
Reference in New Issue
Block a user