summaryrefslogtreecommitdiff
path: root/src/index/routes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/index/routes.rs')
-rw-r--r--src/index/routes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/routes.rs b/src/index/routes.rs
index ef46cc1..32c7f12 100644
--- a/src/index/routes.rs
+++ b/src/index/routes.rs
@@ -50,7 +50,7 @@ async fn channel(
_: Login,
Path(channel): Path<channel::Id>,
) -> Result<Markup, InternalError> {
- let channel = app.index().channel(channel).await?;
+ let channel = app.index().channel(&channel).await?;
Ok(templates::channel(&channel))
}