Bug fixes

This commit is contained in:
Khanh Ngo 2019-12-10 10:36:51 +07:00
parent 7e3a722215
commit 9904505867
No known key found for this signature in database
GPG Key ID: D5FAA6A16150E49E

View File

@ -33,7 +33,7 @@ def domains_custom(boxId):
.outerjoin(Account, Domain.account_id == Account.id) \
.outerjoin(AccountUser, Account.id == AccountUser.account_id) \
.filter(
d(
db.or_(
DomainUser.user_id == current_user.id,
AccountUser.user_id == current_user.id
))