diff --git a/src/api/search_transactions.rs b/src/api/search_transactions.rs index 495057c..7dfa02c 100644 --- a/src/api/search_transactions.rs +++ b/src/api/search_transactions.rs @@ -101,7 +101,7 @@ impl MinaMesh { ) .fetch_all(&self.pg_pool) .await?; - return Ok(user_commands); + Ok(user_commands) } else { let user_commands = sqlx::query_file_as!( UserCommand, @@ -118,7 +118,7 @@ impl MinaMesh { ) .fetch_all(&self.pg_pool) .await?; - return Ok(user_commands); + Ok(user_commands) } }