forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-02-14 18:27:54 +02:00
parent ec67cd6f93
commit 6d71e8a73a
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ class User(Base):
return g.db.query(UserBlock).filter(
or_(and_(UserBlock.user_id == self.id, UserBlock.target_id == other.id), and_(
UserBlock.user_id == other.id, UserBlock.target_id == self.id))).one_or_none()
UserBlock.user_id == other.id, UserBlock.target_id == self.id))).first()
def validate_2fa(self, token):