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> {
|
pub fn duck(&self) -> crate::Result<DuckResponse> {
|
||||||
self
|
self
|
||||||
.0
|
.0
|
||||||
.run_mobile_plugin("duck")
|
.run_mobile_plugin("duck", Some(()))
|
||||||
.map_err(Into::into)
|
.map_err(Into::into)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn unduck(&self) -> crate::Result<DuckResponse> {
|
pub fn unduck(&self) -> crate::Result<DuckResponse> {
|
||||||
self
|
self
|
||||||
.0
|
.0
|
||||||
.run_mobile_plugin("unduck")
|
.run_mobile_plugin("unduck", Some(()))
|
||||||
.map_err(Into::into)
|
.map_err(Into::into)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user