Skip to content

Commit

Permalink
return after pairing activation is successful (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced authored Dec 26, 2024
1 parent 6ee014d commit b9314b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pairing_api/src/pairing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ impl PairingClient {
let timestamp = self.current_timestamp_secs()?;
pairing.info.active = true;
pairing.info.expiry = timestamp + EXPIRY_30_DAYS;
return Ok(());
}

Err(PairingClientError::PairingNotFound)
Expand Down

0 comments on commit b9314b8

Please sign in to comment.