diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-17 19:06:20 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-17 19:06:20 -0400 |
| commit | 921f38a73e5d58a5a6077477a8b52d2705798f55 (patch) | |
| tree | 895eee6c31a9e6003e4d199e32eb04bcb32f8f11 /src/index/routes.rs | |
| parent | e6be82157fe718570aa13ab12803ee39083b8dff (diff) | |
Express record dependencies through types.
This provides a convenient place to _stick_ "not found" errors, though actually introducing them will come in a later commit.
Diffstat (limited to 'src/index/routes.rs')
| -rw-r--r-- | src/index/routes.rs | 2 |
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)) } |
