Fix PendingUpdateData being seen as a unit struct
This commit is contained in:
1 parent
8922c7ab03
commit
3b74e021b5
1 file changed
+1
-1
@@ -2,7 +2,7 @@ use crate::api::Result;
|
||||
use theseus::ErrorKind;
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct PendingUpdateData;
|
||||
pub struct PendingUpdateData(());
|
||||
|
||||
#[tauri::command]
|
||||
pub fn get_update_size() -> Result<()> {
|
||||
|
||||
Reference in new issue
Block a user