refactor: move stripe webhook handler to app/handlers/
- Create app/handlers/ directory for event handlers - Move stripe_webhook_handler.py to app/handlers/stripe_webhook.py - Update imports in webhooks.py, tests, and docs - Handlers are distinct from services (event-driven vs request-driven) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
10
app/handlers/__init__.py
Normal file
10
app/handlers/__init__.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# app/handlers/__init__.py
|
||||
"""
|
||||
Handlers module.
|
||||
|
||||
Contains event handlers for webhooks and other external events.
|
||||
"""
|
||||
|
||||
from app.handlers.stripe_webhook import stripe_webhook_handler
|
||||
|
||||
__all__ = ["stripe_webhook_handler"]
|
||||
Reference in New Issue
Block a user