dev@locazia: fix misprint
This commit is contained in:
1 parent
6efffdc80c
commit
ed88a38cd9
1 file changed
+1
-1
@@ -36,7 +36,7 @@ async def create_new_content(
|
||||
)
|
||||
db_session.add(new_content)
|
||||
db_session.commit()
|
||||
new_content = db_session.query(StoredContent).filter(StoredContent.hash == content_hash).first()
|
||||
new_content = db_session.query(StoredContent).filter(StoredContent.hash == content_hash_b58).first()
|
||||
assert new_content, "Content not created (through utils)"
|
||||
content_filepath = os.path.join(UPLOADS_DIR, content_hash_b58)
|
||||
async with aiofiles.open(content_filepath, 'wb') as file:
|
||||
|
||||
Reference in new issue
Block a user