fix: corrected twilio-integration to twilio_integration

This commit is contained in:
Shariq Ansari 2025-01-11 12:46:23 +05:30
parent 6eefcfd487
commit d1588ca1f5

View File

@ -108,7 +108,7 @@ def is_whatsapp_installed():
def get_whatsapp_messages(reference_doctype, reference_name):
# twilio integration app is not compatible with crm app
# crm has its own twilio integration in built
if "twilio-integration" in frappe.get_installed_apps():
if "twilio_integration" in frappe.get_installed_apps():
return []
if not frappe.db.exists("DocType", "WhatsApp Message"):
return []