Skip to content

Conversation

@robinransom-fk
Copy link

Summary

  • avoid using mutable default arguments in get_data
  • initialize list parameters safely

Testing

  • ruff check crm/api/doc.py
  • pytest -q (fails: command not found)

robinransom-fk pushed a commit that referenced this pull request Jan 2, 2026
fix: handle unknown sender in WhatsApp hook

Return (None, None) from get_contact_lead_or_deal_from_number when
no matching contact, lead, or deal is found. Prevents TypeError when
unpacking the result for messages from unknown numbers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant