mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix shard fetch order
This commit is contained in:
parent
25f96dd920
commit
34a1470d1f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue