mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-10 04:22:13 +10:00
migrate to new droplet ca system
This commit is contained in:
@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user