X-Git-Url: https://us-delaporte.pagekite.me/gitweb/matrix-shop-bot.git/blobdiff_plain/b101ceec84269b137eaee1fe4257131fe8820630..99af120949f95dc808a99e4e32049da0dc8c064f:/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