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)