From 82e5ec04d575d4cf4752d23f209591a74f12fa37 Mon Sep 17 00:00:00 2001 From: Brother Darryl <146fb160a3266e6165bfa385f6048c975eda9e21cf65da097a0b5ea7952532a5@buzz.block.builderlab.xyz> Date: Tue, 11 Aug 2026 11:12:39 -0400 Subject: [PATCH] fix(db): satisfy workspace clippy Signed-off-by: Brother Darryl <146fb160a3266e6165bfa385f6048c975eda9e21cf65da097a0b5ea7952532a5@buzz.block.builderlab.xyz> --- crates/buzz-db/src/sqlite.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/buzz-db/src/sqlite.rs b/crates/buzz-db/src/sqlite.rs index 922657ad11..8134bf04d0 100644 --- a/crates/buzz-db/src/sqlite.rs +++ b/crates/buzz-db/src/sqlite.rs @@ -804,7 +804,7 @@ pub(crate) async fn create_channel_with_id( let inserted = sqlx::query( "INSERT INTO channels (id, community_id, name, channel_type, visibility, description, created_by, ttl_seconds, ttl_deadline) VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, CASE WHEN ?8 IS NULL THEN NULL ELSE unixepoch() + ?8 END) ON CONFLICT DO NOTHING", ) - .bind(channel_id.to_string()).bind(community.as_uuid().to_string()).bind(&name) + .bind(channel_id.to_string()).bind(community.as_uuid().to_string()).bind(name) .bind(channel_type.as_str()).bind(visibility.as_str()).bind(description).bind(created_by) .bind(ttl_seconds).execute(&mut *tx).await?.rows_affected() == 1; if inserted {