fix: update message creation method to avoid using bang operator (#167)

This commit is contained in:
Gabriel Jablonski 2025-12-15 17:10:35 -03:00 committed by GitHub
parent 34b5b58d72
commit 6a220ea7fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ class Twilio::SendOnTwilioService < Base::SendOnChannelService
# Add messaging service or from number
send_params = send_params.merge(channel.send(:send_message_from))
channel.send(:client).messages.create!(**send_params)
channel.send(:client).messages.create(**send_params) # rubocop:disable Rails/SaveBang
end
def template_params