mirror of
https://github.com/dathere/ckanaction.git
synced 2026-05-20 01:44:16 +00:00
fix: update error type to CKANError
This commit is contained in:
parent
cb2ed8476b
commit
677475f750
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ impl CKAN {
|
||||||
id: String,
|
id: String,
|
||||||
use_default_schema: Option<bool>,
|
use_default_schema: Option<bool>,
|
||||||
include_plugin_data: Option<bool>,
|
include_plugin_data: Option<bool>,
|
||||||
) -> Result<serde_json::Value, Box<dyn std::error::Error>> {
|
) -> Result<serde_json::Value, CKANError> {
|
||||||
post!(&self, "package_show", (json id), use_default_schema, include_plugin_data)
|
post!(&self, "package_show", (json id), use_default_schema, include_plugin_data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue