dev@locazia: add type to content

This commit is contained in:
user committed 2024-03-04 17:45:16 +03:00
1 parent d3fe479612
commit 44fcc5128c
1 file changed
+1
+1
View File
@@ -36,6 +36,7 @@ async def s_api_v1_storage_post(request):
try:
file_hash = b58encode(hashlib.sha256(file_content).digest()).decode()
new_content = StoredContent(
type="local/content_bin",
hash=file_hash,
filename=file_name,
user_id=None,