fix: properly update teh channel name
This commit is contained in:
parent
555e38ee26
commit
0bedf96da5
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ pub mod committee {
|
||||||
"
|
"
|
||||||
INSERT INTO committee_roles (id_wolves, id_role, id_channel, name_role, name_channel, count)
|
INSERT INTO committee_roles (id_wolves, id_role, id_channel, name_role, name_channel, count)
|
||||||
VALUES ($1, $2, $3, $4, $5, $6)
|
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)
|
.bind(role.id_wolves)
|
||||||
|
|
Loading…
Add table
Reference in a new issue