feat(webhooks): add all events except group member events

This commit is contained in:
spiral 2021-11-19 11:37:50 -05:00
parent f071485a82
commit 7b9d2a4e5e
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
8 changed files with 156 additions and 20 deletions

View file

@ -10,6 +10,7 @@ namespace PluralKit.Core
{
_logger.Information("Updated account {accountId}: {@AccountPatch}", id, patch);
var query = patch.Apply(new Query("accounts").Where("uid", id));
_ = _dispatch.Dispatch(id, patch);
await _db.ExecuteQuery(query, extraSql: "returning *");
}
}