From b06674b4aba008ba8454e63501ef5254924ed9b6 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 5 Jun 2026 13:26:59 -0500 Subject: [PATCH] Add task to assign zone --- matrix_shop_bot/tasks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matrix_shop_bot/tasks.py b/matrix_shop_bot/tasks.py index 515649b..07ffb40 100644 --- a/matrix_shop_bot/tasks.py +++ b/matrix_shop_bot/tasks.py @@ -33,6 +33,10 @@ def assign_to_store(c, item_id, store_id): result = Data().assign_store(store_id, item_id) print(result) +@task +def assign_to_zone(c, item, zone): + result = Data().assign_zone(item, zone) + print(result) @task def buy(c, items): -- 2.47.3