mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-10-25 01:39:08 +00:00
API works. next: generate URI
This commit is contained in:
@@ -74,6 +74,6 @@ impl ServerRepository {
|
||||
let server = self.find_by_id(id).await?
|
||||
.ok_or_else(|| anyhow::anyhow!("Server not found"))?;
|
||||
|
||||
Ok(format!("{}:{}", server.hostname, server.grpc_port))
|
||||
Ok(server.get_grpc_endpoint())
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user