From c04fe62f72a9f0602dfb520bd51d75603ecb9c40 Mon Sep 17 00:00:00 2001 From: Nathaniel Cook Date: Fri, 6 Dec 2024 09:31:37 -0700 Subject: [PATCH] wip --- api/src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/server.rs b/api/src/server.rs index 2f651883..8c39ac1c 100644 --- a/api/src/server.rs +++ b/api/src/server.rs @@ -1304,7 +1304,7 @@ where .any(|protocol| matches!(protocol, Protocol::P2p(_))) }) { return Ok(PeersPostResponse::BadRequest(BadRequestResponse::new( - format!("at least one address must contain a peer id"), + "at least one address must contain a peer id".to_string(), ))); }; self.peer_connect(addrs)