X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-shop-bot.git/blobdiff_plain/3466966ba8583c9f2e0cba3a2dfb6c6f803625e9..2fe28d1dc4ee451541c9f4e921b5c6eb71e91aed:/matrix_shop_bot/tasks.py diff --git a/matrix_shop_bot/tasks.py b/matrix_shop_bot/tasks.py index 73f57e2..29911a9 100644 --- a/matrix_shop_bot/tasks.py +++ b/matrix_shop_bot/tasks.py @@ -31,8 +31,8 @@ def assign_to_store(c, item_id, store_id): @task -def buy(c, item_id): - result = Data().purchase_item(item_id) +def buy(c, items): + result = Data().purchase_items(items) print(result) @task