migrate to new droplet ca system
This commit is contained in:
parent
4bb33c8223
commit
556898fc13
2 changed files with 0 additions and 3 deletions
|
|
@ -25,7 +25,6 @@ struct HandshakeRequestBody {
|
|||
#[derive(Deserialize)]
|
||||
struct HandshakeResponse {
|
||||
private: String,
|
||||
public: String,
|
||||
certificate: String,
|
||||
id: String,
|
||||
}
|
||||
|
|
@ -74,7 +73,6 @@ pub fn recieve_handshake(app: AppHandle, path: String) {
|
|||
let mut handle = DB.borrow_data_mut().unwrap();
|
||||
handle.certs = Some(DatabaseCerts {
|
||||
private: response_struct.private,
|
||||
public: response_struct.public,
|
||||
cert: response_struct.certificate,
|
||||
});
|
||||
drop(handle);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ use crate::DB;
|
|||
#[derive(serde::Serialize, Clone, Deserialize)]
|
||||
pub struct DatabaseCerts {
|
||||
pub private: String,
|
||||
pub public: String,
|
||||
pub cert: String,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue