From bf2caeae4207b5af7e737a02fe05444643a2e223 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 28 Feb 2025 13:51:16 +0300 Subject: [PATCH] fix --- app/core/models/_telegram/templates/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/models/_telegram/templates/player.py b/app/core/models/_telegram/templates/player.py index 8d6b651..d616004 100644 --- a/app/core/models/_telegram/templates/player.py +++ b/app/core/models/_telegram/templates/player.py @@ -170,7 +170,7 @@ class PlayerTemplates: or bool(self.db_session.query(UserContent).filter( and_( StarsInvoice.user_id == self.user.id, - StarsInvoice.content_hash == content['encrypted_content'].hash, + StarsInvoice.content_hash == content.hash, StarsInvoice.paid == True ) ))