From 6795f2efdc4f74d3fff9966ea918d89b4864a344 Mon Sep 17 00:00:00 2001 From: Samuel Onoja Date: Thu, 26 Dec 2024 12:19:51 +0100 Subject: [PATCH] return after pairing activation is successful --- pairing_api/src/pairing.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pairing_api/src/pairing.rs b/pairing_api/src/pairing.rs index 505bdb7..81a9473 100644 --- a/pairing_api/src/pairing.rs +++ b/pairing_api/src/pairing.rs @@ -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)