diff --git a/lib/registration_repo.rb b/lib/registration_repo.rb index 71f365dc498794961e970caa752d71c777c7cf46..15e08c816b6b107408759aedc6c4f81ac48f4a35 100644 --- a/lib/registration_repo.rb +++ b/lib/registration_repo.rb @@ -6,8 +6,8 @@ class RegistrationRepo def initialize(redis:) @redis = redis @savon = Savon.client { - wsdl "https://api.1pcom.net/ws2/DIDManagement.asmx?WSDL" - convert_request_keys_to :camelcase + wsdl "https://api.1pcom.net/ws2/DIDManagement.asmx?WSDL" + convert_request_keys_to :camelcase } end @@ -46,7 +46,7 @@ protected auth: { username: username, password: password }, dID: tel.sub(/\A\+/, ""), xMPP_user: - ProxiedJID.proxy(jid, CONFIG[:component][:jid]).stripped.to_s + ProxiedJID.proxy(jid, CONFIG[:component][:jid]).stripped.to_s } ).body.dig(:did_route_sms_to_xmpp_response, :did_route_sms_to_xmpp_result) }