Procházet zdrojové kódy

fix: can not test custom tool (#15606)

tags/1.1.0
非法操作 před 7 měsíci
rodič
revize
5019547d33
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2
    0
      api/models/tools.py

+ 2
- 0
api/models/tools.py Zobrazit soubor

@@ -102,6 +102,8 @@ class ApiToolProvider(Base):

@property
def user(self) -> Account | None:
if not self.user_id:
return None
return db.session.query(Account).filter(Account.id == self.user_id).first()

@property

Načítá se…
Zrušit
Uložit