Skip to content

Commit aa7e5a6

Browse files
committed
refactor: ivr missed call caption
1 parent 082cfcb commit aa7e5a6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

daras_ai_v2/bot_integration_widgets.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ def twilio_specific_settings(bi: BotIntegration):
240240
gui.caption(
241241
f"[Upgrade]({settings.PRICING_DETAILS_URL}) for missed call support."
242242
)
243-
else:
244-
gui.caption(
245-
"When enabled, immediately hangs up incoming calls and calls back the user so they don't incur charges (depending on their carrier/plan)."
246-
)
243+
244+
gui.caption(
245+
"When enabled, immediately hangs up incoming calls and calls back the user so they don't incur charges (depending on their carrier/plan)."
246+
)
247247

248248
bi.twilio_fresh_conversation_per_call = gui.checkbox(
249249
"🔄 Fresh Conversation History for Each Call",

routers/facebook_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def fb_webhook(
290290
return Response("OK")
291291

292292
try:
293-
convo = Conversation.objects.get_or_create(
293+
convo, _ = Conversation.objects.get_or_create(
294294
bot_integration=bi,
295295
wa_phone_number=user_id,
296296
extension=bot_extension,

0 commit comments

Comments
 (0)