diff options
Diffstat (limited to 'ipfs-api/src/request/key.rs')
-rw-r--r-- | ipfs-api/src/request/key.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipfs-api/src/request/key.rs b/ipfs-api/src/request/key.rs index 821fd0a..98601df 100644 --- a/ipfs-api/src/request/key.rs +++ b/ipfs-api/src/request/key.rs @@ -43,7 +43,7 @@ pub struct KeyGen<'a, 'b> { } impl<'a, 'b> ApiRequest for KeyGen<'a, 'b> { - const path: &'static str = "/key/gen"; + const PATH: &'static str = "/key/gen"; } #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] @@ -52,5 +52,5 @@ pub struct KeyList; impl_skip_serialize!(KeyList); impl ApiRequest for KeyList { - const path: &'static str = "/key/list"; + const PATH: &'static str = "/key/list"; } |