badges on the right, evolution api sender
This commit is contained in:
@@ -268,11 +268,11 @@ export const api = {
|
||||
return fetch(`/takeovers/${id}`).then(r => r.json());
|
||||
},
|
||||
|
||||
async respondTakeover(id, { response, add_alias }) {
|
||||
async respondTakeover(id, { response, add_alias, cart_items }) {
|
||||
return fetch(`/takeovers/${id}/respond`, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({ response, add_alias }),
|
||||
body: JSON.stringify({ response, add_alias, cart_items }),
|
||||
}).then(r => r.json());
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user