migrate to new droplet ca system

This commit is contained in:
DecDuck
2024-10-08 21:45:57 +11:00
parent 4bb33c8223
commit 556898fc13
2 changed files with 0 additions and 3 deletions

View File

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

View File

@ -9,7 +9,6 @@ use crate::DB;
#[derive(serde::Serialize, Clone, Deserialize)]
pub struct DatabaseCerts {
pub private: String,
pub public: String,
pub cert: String,
}