diff --git a/app/api/routes/content.py b/app/api/routes/content.py index 89adc77..f365cf3 100644 --- a/app/api/routes/content.py +++ b/app/api/routes/content.py @@ -34,7 +34,7 @@ async def s_api_v1_content_view(request, content_address: str): r_content = StoredContent.from_cid(request.ctx.db_session, content_address) content = r_content.open_content(request.ctx.db_session) - opts = {'content_type': content['content_type']} + opts = {'content_type': content['content_type'], 'content_address': content['encrypted_content'].meta.get('item_address', '')} if content['encrypted_content'].key_id: known_key = request.ctx.db_session.query(KnownKey).filter( KnownKey.id == content['encrypted_content'].key_id