Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Dec 6, 2024
1 parent 335d15d commit c2bee3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c2bee3e

Please sign in to comment.