Spaces:
Running

axeronis commited on
Commit
8d0d85b
·
1 Parent(s): bb6cb4c

fix: correct import path for Message model (app.models.lead)

Browse files
Files changed (1) hide show
  1. backend/app/api/webhook.py +1 -1
backend/app/api/webhook.py CHANGED
@@ -199,7 +199,7 @@ async def send_product_images_if_mentioned(
199
  Also saves image messages to database so they appear in chat UI.
200
  """
201
  from app.models.product import Product
202
- from app.models.message import Message
203
  from app.services.telegram_service import telegram_service
204
 
205
  # Get all products with images for this tenant
 
199
  Also saves image messages to database so they appear in chat UI.
200
  """
201
  from app.models.product import Product
202
+ from app.models.lead import Message
203
  from app.services.telegram_service import telegram_service
204
 
205
  # Get all products with images for this tenant