diff options
Diffstat (limited to 'src/repo/channel.rs')
| -rw-r--r-- | src/repo/channel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repo/channel.rs b/src/repo/channel.rs index ab7489c..8e3a471 100644 --- a/src/repo/channel.rs +++ b/src/repo/channel.rs @@ -43,7 +43,7 @@ impl<'c> Channels<'c> { Ok(channel) } - pub async fn by_id(&mut self, channel: Id) -> Result<Channel, sqlx::Error> { + pub async fn by_id(&mut self, channel: &Id) -> Result<Channel, sqlx::Error> { let channel = sqlx::query_as!( Channel, r#" |
