start fix on fucked db entries

This commit is contained in:
Jack Eilles 2024-01-28 10:09:37 +00:00
parent e5d565dc7c
commit 41e70bf9c3

View file

@ -52,7 +52,7 @@ def uploadFile(file, ip, userid, filename, id, retention):
'id': id, 'id': id,
'filename': filename, 'filename': filename,
'filesize': fileSize, 'filesize': fileSize,
'mimetype': file.content_type, 'mimetype': file.content_type if file.content_type != None else "text/plain",
'retention': retention, 'retention': retention,
'userid': userid, 'userid': userid,
'ip': ip, 'ip': ip,