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