diff options
Diffstat (limited to 'ipfs-api/src/request/dag.rs')
-rw-r--r-- | ipfs-api/src/request/dag.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/src/request/dag.rs b/ipfs-api/src/request/dag.rs index b2d03ff..4b17b82 100644 --- a/ipfs-api/src/request/dag.rs +++ b/ipfs-api/src/request/dag.rs @@ -16,7 +16,7 @@ pub struct DagGet<'a> { } impl<'a> ApiRequest for DagGet<'a> { - const path: &'static str = "/dag/get"; + const PATH: &'static str = "/dag/get"; } #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] @@ -25,5 +25,5 @@ pub struct DagPut; impl_skip_serialize!(DagPut); impl ApiRequest for DagPut { - const path: &'static str = "/dag/put"; + const PATH: &'static str = "/dag/put"; } |