From 0bedf96da5c1cfdde9c42ae98f009f37062fea1c Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 27 Feb 2025 01:24:13 +0000 Subject: [PATCH] fix: properly update teh channel name --- src/common/set_roles.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/set_roles.rs b/src/common/set_roles.rs index da8d9d1..654e669 100644 --- a/src/common/set_roles.rs +++ b/src/common/set_roles.rs @@ -427,7 +427,7 @@ pub mod committee { " INSERT INTO committee_roles (id_wolves, id_role, id_channel, name_role, name_channel, count) VALUES ($1, $2, $3, $4, $5, $6) - ON CONFLICT(id_wolves) DO UPDATE SET name_role = $4, name_channel = $4, count = $6 + ON CONFLICT(id_wolves) DO UPDATE SET name_role = $4, name_channel = $5, count = $6 ", ) .bind(role.id_wolves)