Memperbaiki penamaan struktur
This commit is contained in:
1 parent
bb1fee0c68
commit
d16127348c
4 files changed
+15
-15
No files matched your search
+4
-4
@@ -1,20 +1,20 @@
|
||||
use tauri::{command, AppHandle, Runtime};
|
||||
use tauri::{AppHandle, Runtime, command};
|
||||
|
||||
use crate::models::*;
|
||||
use crate::BluclasExt;
|
||||
use crate::Result;
|
||||
use crate::models::*;
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn daftar_perangkat<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
) -> Result<SBlueclasClassicResponDaftarPerangkat> {
|
||||
) -> Result<SBlueclasResponDaftarPerangkat> {
|
||||
return app.bluclas().daftar_perangkat();
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn kirim<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
payload: SBlueclasClassicMuatanKirim,
|
||||
payload: SBlueclasMuatanKirim,
|
||||
) -> Result<()> {
|
||||
return app.bluclas().kirim(payload);
|
||||
}
|
||||
Reference in new issue
Block a user