fix: create order request body (#81) #84
@ -13,7 +13,7 @@ export const landingApi = api.injectEndpoints({
|
||||
createOrder: mutation<CreateOrder.Response, CreateOrder.Params>({
|
||||
query: ({ body }) => ({
|
||||
url: `/order/create`,
|
||||
params: { body },
|
||||
body,
|
||||
method: 'POST'
|
||||
}),
|
||||
transformResponse: extractBodyFromResponse<CreateOrder.Response>,
|
||||
|
Loading…
Reference in New Issue
Block a user