This commit is contained in:
Aevann1 2021-09-22 00:44:18 +02:00
parent e849aa7d54
commit 22b56f5ed4
10 changed files with 25 additions and 25 deletions

View file

@ -68,8 +68,8 @@ class ClientAuth(Base):
oauth_client = Column(Integer, ForeignKey("oauth_apps.id"))
access_token = Column(String(128))
user_id = Column(Integer, ForeignKey("users.id"))
user = relationship("User", lazy="joined")
application = relationship("OauthApp", lazy="joined")
user = relationship("User")
application = relationship("OauthApp")
@property
@lazy