forked from rDrama/rDrama
fix accidentially deleted @property 🤡
parent
e6274e06f3
commit
5d09ef1103
|
@ -470,6 +470,7 @@ class User(Base):
|
|||
def age(self):
|
||||
return int(time.time()) - self.created_utc
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def follow_count(self):
|
||||
return g.db.query(Follow).filter_by(user_id=self.id).count()
|
||||
|
|
Loading…
Reference in New Issue