1
1
mirror of https://github.com/KenanZhu/AutoLibrary.git synced 2026-06-18 07:23:03 +08:00

fix(LibReserve): fix the mistakely passed parameter 'reserve_info'

we forget to pass the username because the
'reserve_info' do not contain the username
This commit is contained in:
2025-11-28 15:15:39 +08:00
parent 842fb434f4
commit 5e5deba773
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ class AutoLib(MsgBase):
# reserve
if run_mode["auto_reserve"]:
if self.__lib_checker.canReserve(reserve_info.get("date")):
if self.__lib_reserve.reserve(reserve_info):
if self.__lib_reserve.reserve(username, reserve_info):
result = 0
else:
result = 1