mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-12-22 19:26:30 +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
|
||||
.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
|
||||
.job_server
|
||||
.queue(QueryContact::new(self.actor_id, contact_id.clone()))
|
||||
|
|
Loading…
Reference in a new issue