mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix(api): trim trailing spaces from hids in GetSystemSwitches
This commit is contained in:
parent
c3a30a59cd
commit
bd1c54f5eb
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ public class SwitchControllerV2: PKControllerBase
|
|||
|
||||
var res = await _db.Execute(conn => conn.QueryAsync<SwitchesReturnNew>(
|
||||
@"select *, array(
|
||||
select members.hid from switch_members, members
|
||||
select trim(members.hid) from switch_members, members
|
||||
where switch_members.switch = switches.id and members.id = switch_members.member
|
||||
) as members from switches
|
||||
where switches.system = @System and switches.timestamp < @Before
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue