Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander authored Nov 15, 2024
1 parent abc32c5 commit 79be13e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/periodic/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pub async fn verify_active_connections(app_handle: AppHandle) -> Result<(), Erro
Some(1),
)
.await?;
if let Some(latest_stat) = stats.fist() {
if let Some(latest_stat) = stats.first() {
trace!(
"Latest stat for checked location connection: {:?}",
latest_stat
Expand Down Expand Up @@ -234,7 +234,7 @@ pub async fn verify_active_connections(app_handle: AppHandle) -> Result<(), Erro
&aggregation,
)
.await?;
if let Some(latest_stat) = stats.fist() {
if let Some(latest_stat) = stats.first() {
trace!("Latest stat for checked tunnel: {:?}", latest_stat);
if !check_last_active_connection(
latest_stat.persistent_keepalive_interval,
Expand Down

0 comments on commit 79be13e

Please sign in to comment.