mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
a64eaeccf2
no issue - Moved business logic from `WebhookController` to dedicated service classes (`SubscriptionEventService`, `InvoiceEventService`, `CheckoutSessionEventService`). - Reduced controller complexity. - Added unit tests for individual services, increasing overall test coverage. - Improved maintainability and scalability by isolating responsibilities in specific services, making future updates easier and safer. |
||
---|---|---|
.. | ||
services/webhooks | ||
Migrations.test.js | ||
StripeAPI.test.js | ||
WebhookController.test.js |