This commit is contained in:
user committed 2025-02-28 13:46:27 +03:00
1 parent 3525f73b99
commit 1ee8112734
3 files changed
+8 -4

No files matched your search

@@ -169,7 +169,7 @@ class PlayerTemplates:
or bool(self.db_session.query(UserContent).filter_by(owner_address=user_wallet_address, status='active', content_id=content.id).first())
or bool(self.db_session.query(UserContent).filter(
and_(
StarsInvoice.user_id == self.user,
StarsInvoice.user_id == self.user.id,
StarsInvoice.content_hash == content['encrypted_content'].hash,
StarsInvoice.paid == True
)