This commit is contained in:
seb
2026-08-15 04:11:54 +02:00
parent e1a009ba5c
commit c42a14a437
7 changed files with 50 additions and 18 deletions

View File

@@ -9,8 +9,7 @@ void handle_customer(HttpRequest& req, HttpResponse& resp, RouteContext& /*ctx*/
int limit = req.get_query_int("limit", 20);
int shop = get_active_shop_id();
int subshop = get_active_shop_subshop_id();
int64_t max_last_changed = get_active_max_last_changed();
auto customers = get_customer_list(cursor, limit, shop, subshop, max_last_changed);
auto customers = get_customer_list(cursor, limit, shop, subshop);
resp.send_json(200, customers);
}