aboutsummaryrefslogtreecommitdiffstats
path: root/src/group.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/group.rs')
-rw-r--r--src/group.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/group.rs b/src/group.rs
index 2ed8e92..cf3a057 100644
--- a/src/group.rs
+++ b/src/group.rs
@@ -24,8 +24,8 @@ pub fn group() -> Group {
}
impl Group {
- pub fn fetch(&self, client: &Client) -> Result<String, Error> {
- client.fetch_stream("group", &())
+ pub async fn fetch(&self, client: &Client) -> Result<String, Error> {
+ client.fetch_stream("group", &()).await
}
}
@@ -57,7 +57,7 @@ impl<'a> GroupMembers<'a> {
self
}
- pub fn fetch(&self, client: &Client) -> Result<String, Error> {
- client.fetch_stream("group_members", &self.id.as_ref().unwrap())
+ pub async fn fetch(&self, client: &Client) -> Result<String, Error> {
+ client.fetch_stream("group_members", &self.id.as_ref().unwrap()).await
}
}