From 69968b94ead1019d7ad1da6ba5b5e23c70a73970 Mon Sep 17 00:00:00 2001 From: strawberry Date: Mon, 22 Apr 2024 00:04:24 -0400 Subject: [PATCH] flip this Signed-off-by: strawberry --- src/api/client_server/alias.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/client_server/alias.rs b/src/api/client_server/alias.rs index 1345ef0c..9ceff6d0 100644 --- a/src/api/client_server/alias.rs +++ b/src/api/client_server/alias.rs @@ -161,11 +161,11 @@ pub(crate) async fn get_alias_helper( ) .await; - if response.is_err() { - continue; + if response.is_ok() { + break; } - break; + continue; } } }