mirror of
https://github.com/simple-login/app.git
synced 2024-11-13 04:04:55 +08:00
fix contact page
This commit is contained in:
parent
45891bed36
commit
b98e913304
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class ContactInfo(object):
|
|||
def get_contact_infos(alias: Alias, page=0, contact_id=None) -> [ContactInfo]:
|
||||
q = db.session.query(
|
||||
Contact,
|
||||
)
|
||||
).filter(Contact.alias_id == alias.id)
|
||||
|
||||
if contact_id:
|
||||
q = q.filter(Contact.id == contact_id)
|
||||
|
|
Loading…
Reference in a new issue