This commit is contained in:
Aevann1 2022-01-06 22:30:08 +02:00
parent d1ce237f19
commit fbbfc65315
3 changed files with 9 additions and 4 deletions

View file

@ -559,7 +559,7 @@ class User(Base):
@property
@lazy
def applications(self):
return g.db.query(OauthApp).filter_by(author_id=self.id).order_by(OauthApp.id.asc()).all()
return g.db.query(OauthApp).filter_by(author_id=self.id).order_by(OauthApp.id)
@lazy
def subscribed_idlist(self, page=1):