summaryrefslogtreecommitdiffstats
path: root/ipfs-api/src/request/pubsub.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipfs-api/src/request/pubsub.rs')
-rw-r--r--ipfs-api/src/request/pubsub.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipfs-api/src/request/pubsub.rs b/ipfs-api/src/request/pubsub.rs
index fbf5c33..b6a9d2b 100644
--- a/ipfs-api/src/request/pubsub.rs
+++ b/ipfs-api/src/request/pubsub.rs
@@ -14,7 +14,7 @@ pub struct PubsubLs;
impl_skip_serialize!(PubsubLs);
impl ApiRequest for PubsubLs {
- const path: &'static str = "/pubsub/ls";
+ const PATH: &'static str = "/pubsub/ls";
}
@@ -25,7 +25,7 @@ pub struct PubsubPeers<'a> {
}
impl<'a> ApiRequest for PubsubPeers<'a> {
- const path: &'static str = "/pubsub/peers";
+ const PATH: &'static str = "/pubsub/peers";
}
@@ -39,7 +39,7 @@ pub struct PubsubPub<'a> {
}
impl<'a> ApiRequest for PubsubPub<'a> {
- const path: &'static str = "/pubsub/pub";
+ const PATH: &'static str = "/pubsub/pub";
}
@@ -52,5 +52,5 @@ pub struct PubsubSub<'a> {
}
impl<'a> ApiRequest for PubsubSub<'a> {
- const path: &'static str = "/pubsub/sub";
+ const PATH: &'static str = "/pubsub/sub";
}