fix: key_id
This commit is contained in:
parent
67a8df3b52
commit
d4d47f839f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue