Update trifid-api/src/codegen/mod.rs
This commit is contained in:
parent
39090a9f0a
commit
18edf13e3c
|
@ -269,7 +269,6 @@ pub async fn collect_info<'a>(
|
|||
|
||||
let hosts = trifid_api_entities::entity::host::Entity::find()
|
||||
.filter(host::Column::Network.eq(&network.id))
|
||||
.filter(Condition::any().add(host::Column::IsRelay.eq(true)).add(host::Column::IsLighthouse.eq(true)))
|
||||
.all(&db.conn)
|
||||
.await?;
|
||||
|
||||
|
|
Loading…
Reference in New Issue