Extract Database to interface
This commit is contained in:
@@ -40,10 +40,10 @@ namespace PluralKit.API
|
||||
public class SystemController : ControllerBase
|
||||
{
|
||||
private IDataStore _data;
|
||||
private Database _conn;
|
||||
private IDatabase _conn;
|
||||
private TokenAuthService _auth;
|
||||
|
||||
public SystemController(IDataStore data, Database conn, TokenAuthService auth)
|
||||
public SystemController(IDataStore data, IDatabase conn, TokenAuthService auth)
|
||||
{
|
||||
_data = data;
|
||||
_conn = conn;
|
||||
|
Reference in New Issue
Block a user