fix shard fetch order
This commit is contained in:
parent
25f96dd920
commit
34a1470d1f
@ -10,7 +10,7 @@ namespace PluralKit.Core
|
||||
public partial class ModelRepository
|
||||
{
|
||||
public Task<IEnumerable<PKShardInfo>> GetShards(IPKConnection conn) =>
|
||||
conn.QueryAsync<PKShardInfo>("select * from shards");
|
||||
conn.QueryAsync<PKShardInfo>("select * from shards order by id");
|
||||
|
||||
public Task SetShardStatus(IPKConnection conn, int shard, PKShardInfo.ShardStatus status) =>
|
||||
conn.ExecuteAsync(
|
||||
|
Loading…
Reference in New Issue
Block a user