This commit is contained in:
spiral
2021-09-26 22:50:08 -04:00
parent 0517c76abf
commit fb4aaad19f
5 changed files with 13 additions and 13 deletions

View File

@@ -46,7 +46,7 @@ namespace PluralKit.Core
// Remove the old members from the switch
await conn.ExecuteAsync("delete from switch_members where switch = @Switch",
new {Switch = switchId});
new { Switch = switchId });
// Add the new members
await using (var w = conn.BeginBinaryImport("copy switch_members (switch, member) from stdin (format binary)"))