From c26dda71861399fe36bd53d040da5d33b329cd91 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 5 Apr 2024 14:04:18 +0300 Subject: [PATCH] fix misprint --- app/bot/routers/content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot/routers/content.py b/app/bot/routers/content.py index ad17cea..fe703e3 100644 --- a/app/bot/routers/content.py +++ b/app/bot/routers/content.py @@ -37,7 +37,7 @@ async def t_callback_owned_content(query: types.CallbackQuery, memory=None, user content_list.append([ { 'text': metadata_content_json['name'], - 'callback_data': f'NC_{content.cid.content_hash.hex()}' + 'callback_data': f'NC_{content.id}' } ])