Router, Add wellknow, fix compile errors
This commit is contained in:
parent
ee99f119f0
commit
031faf7db1
8 changed files with 71 additions and 58 deletions
|
|
@ -174,7 +174,7 @@ impl XrpcEndpoint {
|
|||
impl Endpoint for XrpcEndpoint {
|
||||
fn add_to_router(self, router: axumRouter) -> axumRouter {
|
||||
let path = match self.path {
|
||||
Path::Nsid(nsid) => &("/xrpc/".to_owned() + nsid.as_str()),
|
||||
Path::Nsid(nsid) => &("/xrpc/".to_owned() + &nsid.to_string()),
|
||||
Path::NotImplemented => "/xrpc/{*nsid}",
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue