修复登录后仍旧提示需要登录

This commit is contained in:
2026-01-12 15:18:59 +08:00
parent 3f1bd0731b
commit 67b9aa2bd6
3 changed files with 15 additions and 16 deletions

View File

@@ -180,7 +180,7 @@ async def list_firmwares(
if conditions:
results = await Firmware.get(session, and_(*conditions), fetch_mode="all")
else:
results = await Firmware.get(session, fetch_mode="all")
results = await Firmware.get(session, None, fetch_mode="all")
if not results:
return []