mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Make sure webhooks are generated in a generic way for future expansion.
This commit is contained in:
@@ -24,6 +24,8 @@ namespace FireflyIII\Providers;
|
||||
|
||||
use FireflyIII\Generator\Chart\Basic\ChartJsGenerator;
|
||||
use FireflyIII\Generator\Chart\Basic\GeneratorInterface;
|
||||
use FireflyIII\Generator\Webhook\MessageGeneratorInterface;
|
||||
use FireflyIII\Generator\Webhook\StandardMessageGenerator;
|
||||
use FireflyIII\Helpers\Attachments\AttachmentHelper;
|
||||
use FireflyIII\Helpers\Attachments\AttachmentHelperInterface;
|
||||
use FireflyIII\Helpers\Fiscal\FiscalHelper;
|
||||
@@ -231,10 +233,10 @@ class FireflyServiceProvider extends ServiceProvider
|
||||
$this->app->bind(TelemetryRepositoryInterface::class, TelemetryRepository::class);
|
||||
|
||||
// webhooks:
|
||||
$this->app->bind(MessageGeneratorInterface::class, StandardMessageGenerator::class);
|
||||
$this->app->bind(SignatureGeneratorInterface::class,Sha3SignatureGenerator::class);
|
||||
$this->app->bind(WebhookSenderInterface::class, StandardWebhookSender::class);
|
||||
|
||||
|
||||
// password verifier thing
|
||||
$this->app->bind(Verifier::class, PwndVerifierV2::class);
|
||||
|
||||
|
Reference in New Issue
Block a user