diff options
Diffstat (limited to 'ipfs-api/src/request/pin.rs')
-rw-r--r-- | ipfs-api/src/request/pin.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ipfs-api/src/request/pin.rs b/ipfs-api/src/request/pin.rs index f9ac6ef..d48f6a6 100644 --- a/ipfs-api/src/request/pin.rs +++ b/ipfs-api/src/request/pin.rs @@ -18,7 +18,7 @@ pub struct PinAdd<'a> { } impl<'a> ApiRequest for PinAdd<'a> { - const path: &'static str = "/pin/add"; + const PATH: &'static str = "/pin/add"; } @@ -32,7 +32,7 @@ pub struct PinLs<'a> { } impl<'a> ApiRequest for PinLs<'a> { - const path: &'static str = "/pin/ls"; + const PATH: &'static str = "/pin/ls"; } @@ -45,5 +45,5 @@ pub struct PinRm<'a> { } impl<'a> ApiRequest for PinRm<'a> { - const path: &'static str = "/pin/rm"; + const PATH: &'static str = "/pin/rm"; } |