summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/request/object.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/request/object.rs')
-rw-r--r--ipfs-api/src/request/object.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipfs-api/src/request/object.rs b/ipfs-api/src/request/object.rs
index 616a9aa..604cf4b 100644
--- a/ipfs-api/src/request/object.rs
+++ b/ipfs-api/src/request/object.rs
@@ -19,7 +19,7 @@ pub struct ObjectDiff<'a> {
}
impl<'a> ApiRequest for ObjectDiff<'a> {
- const path: &'static str = "/object/diff";
+ const PATH: &'static str = "/object/diff";
}
@@ -30,7 +30,7 @@ pub struct ObjectGet<'a> {
}
impl<'a> ApiRequest for ObjectGet<'a> {
- const path: &'static str = "/object/get";
+ const PATH: &'static str = "/object/get";
}
@@ -41,7 +41,7 @@ pub struct ObjectLinks<'a> {
}
impl<'a> ApiRequest for ObjectLinks<'a> {
- const path: &'static str = "/object/links";
+ const PATH: &'static str = "/object/links";
}
@@ -52,7 +52,7 @@ pub struct ObjectStat<'a> {
}
impl<'a> ApiRequest for ObjectStat<'a> {
- const path: &'static str = "/object/stat";
+ const PATH: &'static str = "/object/stat";
}