We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b9fed7 commit e36f5cbCopy full SHA for e36f5cb
api/services/file_service.py
@@ -35,7 +35,7 @@ def upload_file(
35
filename = file.filename
36
if not filename:
37
raise FileNotExistsError
38
- extension = filename.split(".")[-1]
+ extension = filename.split(".")[-1].lower()
39
if len(filename) > 200:
40
filename = filename.split(".")[0][:200] + "." + extension
41
0 commit comments