summaryrefslogtreecommitdiff
path: root/src/helix/namespaces/clips.rs
diff options
context:
space:
mode:
authorDavid Blajda <blajda@hotmail.com>2018-12-20 00:09:49 +0000
committerDavid Blajda <blajda@hotmail.com>2018-12-20 00:09:49 +0000
commit61507ec1fa61fe134547a7eac9541375c6215b33 (patch)
treecf7fb84300454680dd0acd06434fa23a71d6211f /src/helix/namespaces/clips.rs
parenta8e42248cf617767dfd890c0832ea233bb4608fc (diff)
Replace channel based barrier with shared future based barrier
Diffstat (limited to 'src/helix/namespaces/clips.rs')
-rw-r--r--src/helix/namespaces/clips.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helix/namespaces/clips.rs b/src/helix/namespaces/clips.rs
index ac820e8..083e5c4 100644
--- a/src/helix/namespaces/clips.rs
+++ b/src/helix/namespaces/clips.rs
@@ -33,6 +33,7 @@ pub fn clip(client: Client, id: &str)
API_DOMAIN + "/helix/clips" + "?id=" + id;
let params = BTreeMap::new();
+ let limit = client.default_ratelimit();
- ApiRequest::new(url, params, client, Method::GET)
+ ApiRequest::new(url, params, client, Method::GET, Some(limit))
}