mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 21:16:49 +00:00
Extract Database to interface
This commit is contained in:
parent
70df9cd893
commit
90ac186183
27 changed files with 76 additions and 54 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue