This commit is contained in:
Eugene Pankov 2022-04-13 00:08:26 +02:00
parent a9e3585275
commit 85b92e3888
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -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)))