mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-11-22 09:31:07 +00:00
clippy
This commit is contained in:
parent
18f1096221
commit
2b3cb8db92
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ impl QueryNodeinfo {
|
||||||
.metadata
|
.metadata
|
||||||
.and_then(|meta| meta.into_iter().next().and_then(|meta| meta.staff_accounts))
|
.and_then(|meta| meta.into_iter().next().and_then(|meta| meta.staff_accounts))
|
||||||
{
|
{
|
||||||
if let Some(contact_id) = accounts.get(0) {
|
if let Some(contact_id) = accounts.first() {
|
||||||
state
|
state
|
||||||
.job_server
|
.job_server
|
||||||
.queue(QueryContact::new(self.actor_id, contact_id.clone()))
|
.queue(QueryContact::new(self.actor_id, contact_id.clone()))
|
||||||
|
|
Loading…
Reference in a new issue