mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat(webhooks): init, add service/models, add JSON to patch objects
This commit is contained in:
parent
08c5b78cc2
commit
71aec0d419
14 changed files with 551 additions and 2 deletions
|
|
@ -6,10 +6,12 @@ namespace PluralKit.Core
|
|||
{
|
||||
private readonly ILogger _logger;
|
||||
private readonly IDatabase _db;
|
||||
public ModelRepository(ILogger logger, IDatabase db)
|
||||
private readonly DispatchService _dispatch;
|
||||
public ModelRepository(ILogger logger, IDatabase db, DispatchService dispatch)
|
||||
{
|
||||
_logger = logger.ForContext<ModelRepository>();
|
||||
_db = db;
|
||||
_dispatch = dispatch;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue