mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-15 10:10:12 +00:00
Fix Npgsql deprecation error
This commit is contained in:
parent
0ce5883da1
commit
b371c2f34d
1 changed files with 1 additions and 1 deletions
|
|
@ -1015,7 +1015,7 @@ namespace PluralKit {
|
||||||
memberObjects = (
|
memberObjects = (
|
||||||
await conn.QueryAsync<PKMember>(
|
await conn.QueryAsync<PKMember>(
|
||||||
"select * from members where id = any(@Switches)", // lol postgres specific `= any()` syntax
|
"select * from members where id = any(@Switches)", // lol postgres specific `= any()` syntax
|
||||||
new { Switches = switchMembers.Select(m => m.Member).Distinct() })
|
new { Switches = switchMembers.Select(m => m.Member).Distinct().ToList() })
|
||||||
).ToDictionary(m => m.Id);
|
).ToDictionary(m => m.Id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue