Skip to content

Commit

Permalink
Add admin_user_id argument to automatic_reserve
Browse files Browse the repository at this point in the history
  • Loading branch information
mhbahmani committed Oct 9, 2023
1 parent f573432 commit c28e8d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reserve.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c28e8d1

Please sign in to comment.