diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-31 18:12:01 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-31 18:12:01 +0800 |
commit | 62a5096724e505d893ac9b785cc13dd226aeb8d9 (patch) | |
tree | add893be3612fba683c48d5471d0bd8d7ea25843 /ord.c | |
parent | a5a01231f31b56d1e5a7594cef32cdfdcfdc4b04 (diff) |
This is what makes cart item removal works
Diffstat (limited to 'ord.c')
-rw-r--r-- | ord.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"); } |