Archived
Mengubah payload menjadi id
This commit is contained in:
1 parent
b8caa99035
commit
adb535e93c
5 files changed
+11
-11
No files matched your search
+2
-2
@@ -25,10 +25,10 @@ pub fn init<R: Runtime, C: DeserializeOwned>(
|
||||
pub struct Auth<R: Runtime>(PluginHandle<R>);
|
||||
|
||||
impl<R: Runtime> Auth<R> {
|
||||
pub fn masuk(&self, payload: SAuthMuatanMasuk) -> crate::Result<()> {
|
||||
pub fn masuk(&self, muatan: SAuthMuatanMasuk) -> crate::Result<()> {
|
||||
return self
|
||||
.0
|
||||
.run_mobile_plugin("masuk", payload)
|
||||
.run_mobile_plugin("masuk", muatan)
|
||||
.map_err(Into::into);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user