mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 16:20:13 +00:00
Extract Database to interface
This commit is contained in:
parent
70df9cd893
commit
90ac186183
27 changed files with 76 additions and 54 deletions
|
|
@ -16,10 +16,10 @@ namespace PluralKit.Bot
|
|||
public class SystemList
|
||||
{
|
||||
private readonly IClock _clock;
|
||||
private readonly Database _db;
|
||||
private readonly IDatabase _db;
|
||||
private readonly ILogger _logger;
|
||||
|
||||
public SystemList(Database db, ILogger logger, IClock clock)
|
||||
public SystemList(IDatabase db, ILogger logger, IClock clock)
|
||||
{
|
||||
_db = db;
|
||||
_logger = logger;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue