fix: key_id
This commit is contained in:
1 parent
67a8df3b52
commit
d4d47f839f
1 file changed
+1
-1
@@ -37,7 +37,7 @@ async def s_api_v1_content_view(request, content_address: str):
|
||||
opts = {}
|
||||
if content['encrypted_content'].key_id:
|
||||
known_key = request.ctx.db_session.query(KnownKey).filter(
|
||||
KnownKey.id == content
|
||||
KnownKey.id == content['encrypted_content'].key_id
|
||||
).first()
|
||||
if known_key:
|
||||
opts['key_hash'] = known_key.seed_hash
|
||||
|
||||
Reference in new issue
Block a user