fix: add unit to mobile plugin arguments
This commit is contained in:
@ -28,14 +28,14 @@ impl<R: Runtime> Duck<R> {
|
||||
pub fn duck(&self) -> crate::Result<DuckResponse> {
|
||||
self
|
||||
.0
|
||||
.run_mobile_plugin("duck")
|
||||
.run_mobile_plugin("duck", Some(()))
|
||||
.map_err(Into::into)
|
||||
}
|
||||
|
||||
pub fn unduck(&self) -> crate::Result<DuckResponse> {
|
||||
self
|
||||
.0
|
||||
.run_mobile_plugin("unduck")
|
||||
.run_mobile_plugin("unduck", Some(()))
|
||||
.map_err(Into::into)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user