dev@locazia: fix user_id
This commit is contained in:
1 parent
3acfda2853
commit
51fe8c7320
1 file changed
+1
-1
@@ -55,7 +55,7 @@ async def s_api_v1_storage_post(request):
|
|||||||
|
|
||||||
new_content = StoredContent(
|
new_content = StoredContent(
|
||||||
type="local/content_bin",
|
type="local/content_bin",
|
||||||
user_id=request.ctx.user.id if request.ctx.user else None,
|
user_id=request.ctx.user.id if request.ctx.user else 0,
|
||||||
hash=file_hash,
|
hash=file_hash,
|
||||||
filename=file_name,
|
filename=file_name,
|
||||||
meta=file_meta,
|
meta=file_meta,
|
||||||
|
|||||||
Reference in new issue
Block a user