From c28e8d151053102e04767245e3188f80f24cc894 Mon Sep 17 00:00:00 2001 From: mhbahmani Date: Mon, 9 Oct 2023 23:30:37 +0330 Subject: [PATCH] Add admin_user_id argument to automatic_reserve --- src/reserve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reserve.py b/src/reserve.py index 434f0e2..f1b2b33 100644 --- a/src/reserve.py +++ b/src/reserve.py @@ -47,8 +47,8 @@ async def show_favorite_foods(self, update, context): messages.no_favorite_foods_list ) - async def automatic_reserve(self, context, user_id: str = None): - await AutomaticReserveHandler(self, db=self.db).automatic_reserve(context, user_id) + async def automatic_reserve(self, context, user_id: str = None, admin_user_id: str = None): + await AutomaticReserveHandler(self, db=self.db).automatic_reserve(context, user_id, admin_user_id) def load_foods(self): # Load foods to cache