fix
This commit is contained in:
parent
bc6d9aefb4
commit
7b42521c62
|
|
@ -61,7 +61,7 @@ async def t_callback_owned_content(query: types.CallbackQuery, memory=None, user
|
||||||
|
|
||||||
async def t_callback_node_content(query: types.CallbackQuery, memory=None, user=None, db_session=None, chat_wrap=None, **extra):
|
async def t_callback_node_content(query: types.CallbackQuery, memory=None, user=None, db_session=None, chat_wrap=None, **extra):
|
||||||
content_hash = query.data.split('_')[1]
|
content_hash = query.data.split('_')[1]
|
||||||
return await chat_wrap.send_player(
|
return await chat_wrap.send_content(
|
||||||
db_session.query(StoredContent).filter_by(
|
db_session.query(StoredContent).filter_by(
|
||||||
hash=base58.b58encode(bytes.fromhex(content_hash)).decode()
|
hash=base58.b58encode(bytes.fromhex(content_hash)).decode()
|
||||||
).first(),
|
).first(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue