4.29.3
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
2023-06-01 11:00:05 +00:00
parent 651f3f1e9c
commit 804eec0c03
11 changed files with 384 additions and 35 deletions

View File

@ -206,7 +206,7 @@ def setting():
current_profile_file is not None
and current_profile_file.user_id == current_user.id
):
s3.delete(current_user.path)
s3.delete(current_profile_file.path)
file_path = random_string(30)
file = File.create(user_id=current_user.id, path=file_path)