We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f5e0d commit c02fb7cCopy full SHA for c02fb7c
apps/admin/views.py
@@ -167,7 +167,7 @@ async def update_file(
167
update_data["prefix"] = data.prefix
168
if data.suffix is not None and data.suffix != file_code.suffix:
169
update_data["suffix"] = data.suffix
170
- 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:
171
update_data["expired_at"] = data.expired_at
172
if data.expired_count is not None and data.expired_count != file_code.expired_count:
173
update_data["expired_count"] = data.expired_count
0 commit comments