mirror of
https://github.com/warp-tech/warpgate.git
synced 2025-02-24 07:25:48 +08:00
lint
This commit is contained in:
parent
a9e3585275
commit
85b92e3888
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ impl Api {
|
|||
.into_iter()
|
||||
.map(|k| SSHKey {
|
||||
kind: k.name().to_owned(),
|
||||
public_key_base64: k.public_key_base64().replace("\n", "").replace("\r", ""),
|
||||
public_key_base64: k.public_key_base64().replace('\n', "").replace('\r', ""),
|
||||
})
|
||||
.collect();
|
||||
Ok(GetSSHOwnKeysResponse::Ok(Json(keys)))
|
||||
|
|
Loading…
Reference in a new issue