Skip to content

Commit

Permalink
fix(twilio): Correctly read the twilio config (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
marchello2000 authored May 8, 2019
1 parent 5b1e44c commit 87d4c46
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ import retrofit.converter.JacksonConverter
class TwilioConfig {

@Bean
Endpoint twilioEndpoint(@Value('twilio.base-url') String twilioBaseUrl) {
Endpoint twilioEndpoint(@Value('${twilio.base-url}') String twilioBaseUrl) {
newFixedEndpoint(twilioBaseUrl)
}

@Bean
TwilioService twilioService(
@Value('twilio.account') String username,
@Value('twilio.token') String password,
@Value('${twilio.account}') String username,
@Value('${twilio.token}') String password,
Endpoint twilioEndpoint,
Client retrofitClient,
RestAdapter.LogLevel retrofitLogLevel) {
Expand Down

0 comments on commit 87d4c46

Please sign in to comment.