summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-31 18:12:01 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-31 18:12:01 +0800
commit62a5096724e505d893ac9b785cc13dd226aeb8d9 (patch)
treeadd893be3612fba683c48d5471d0bd8d7ea25843
parenta5a01231f31b56d1e5a7594cef32cdfdcfdc4b04 (diff)
This is what makes cart item removal works
-rw-r--r--ord.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ord.c b/ord.c
index 1dd8994..5bf341d 100644
--- a/ord.c
+++ b/ord.c
@@ -14,8 +14,9 @@ void interchange_ord_order(const char *sku,
void interchange_ord_remove(const char *name, const char *nextpage,
void (*parser)(interchange_response *))
{
- request(parser, NULL, &(struct body){ 1 + (nextpage ? 1 : 0), {
+ request(parser, NULL, &(struct body){ 2 + (nextpage ? 1 : 0), {
{ name, "0" },
+ { "mv_doit", "refresh" },
{ "mv_nextpage", nextpage }
}}, "%s", "process");
}