test/custom-admin-ui #3

Merged
orion merged 673 commits from test/custom-admin-ui into master 2026-06-05 17:20:58 +08:00
Showing only changes of commit 46aef93125 - Show all commits
+1 -1
View File
@@ -167,7 +167,7 @@ async def update_file(
update_data["prefix"] = data.prefix
if data.suffix is not None and data.suffix != file_code.suffix:
update_data["suffix"] = data.suffix
if data.expired_at is not None and data.expired_at != file_code.expired_at:
if data.expired_at is not None and data.expired_at != "" and data.expired_at != file_code.expired_at:
update_data["expired_at"] = data.expired_at
if data.expired_count is not None and data.expired_count != file_code.expired_count:
update_data["expired_count"] = data.expired_count