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 ) ))