Skip to content

Commit

Permalink
Enable Twilio's smart encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
mveytsman committed Aug 22, 2024
1 parent 74d66bd commit fa25e0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bike_brigade/sms_service.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ defmodule BikeBrigade.SmsService do
def send_sms(message, opts) when is_list(message) do
sms_service = Keyword.get(opts, :sms_service, adapter())

message = message |> Keyword.put(:smartEncoded, true)

payload =
case Keyword.get(opts, :send_callback, false) do
true ->
Expand Down

0 comments on commit fa25e0c

Please sign in to comment.