mirror of
https://github.com/vastsa/FileCodeBox.git
synced 2026-11-22 06:57:56 +08:00
fix: 后台无法修改永久取件码的信息
This commit is contained in:
1 parent
95f5e0dfbc
commit
c02fb7ce20
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user