wip
This commit is contained in:
@@ -14,9 +14,10 @@ export const orderApi = baseApi.injectEndpoints({
|
||||
|
||||
placeOrder: builder.mutation({
|
||||
query: (orderDetails) => {
|
||||
console.log({
|
||||
watch: orderDetails
|
||||
})
|
||||
orderDetails.shipping_method = 'standart';
|
||||
orderDetails.delivery_time = '13:00 - 18:00';
|
||||
orderDetails.region = 'ag';
|
||||
|
||||
return {
|
||||
url: "/orders",
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user