summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-08-05 20:33:14 +0200
committerSanto Cariotti <santo@dcariotti.me>2021-08-05 20:33:14 +0200
commit5ddacf8e8131bacbcbd360b24c4c45b5380678ee (patch)
tree7ffb5aeb9adca95aaf344ae68d810c9456f01a4c /src/main.rs
parent0ef059378e3b10c0eebcbb4e5abc0e033f06cd25 (diff)
feat: get spaces of a faculty
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 92e661e..6b85559 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -44,7 +44,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
UnboundedReceiverStream::new(rx).for_each_concurrent(None, |cx| async move {
let data = &cx.update.data;
if let Some(text) = data {
- callbacks::handler(text).await;
+ let _ = callbacks::handler(&cx, text).await;
}
})
})