dev@locazia: fast fixes
This commit is contained in:
1 parent
44fcc5128c
commit
583c8b93c5
1 file changed
+1
-1
@@ -37,9 +37,9 @@ async def s_api_v1_storage_post(request):
|
||||
file_hash = b58encode(hashlib.sha256(file_content).digest()).decode()
|
||||
new_content = StoredContent(
|
||||
type="local/content_bin",
|
||||
user_id=request.ctx.user.id,
|
||||
hash=file_hash,
|
||||
filename=file_name,
|
||||
user_id=None,
|
||||
meta=file_meta,
|
||||
created=datetime.now(),
|
||||
key_id=None
|
||||
|
||||
Reference in new issue
Block a user