Skip to content

Commit dae0ef1

Browse files
authored
Update Twilio.cs reordering the parameters
1 parent 80fc806 commit dae0ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Twilio/Twilio.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public static ITwilioRestClient GetNoAuthRestClient()
204204
}
205205

206206
AuthStrategy noauthstrategy = new NoAuthStrategy();
207-
_noAuthRestClient = new TwilioRestClient(_username, _password, accountSid: _accountSid, region: _region, edge: _edge, authstrategy: noauthstrategy)
207+
_noAuthRestClient = new TwilioRestClient(_username, _password, authstrategy: noauthstrategy, accountSid: _accountSid, region: _region, edge: _edge)
208208
{
209209
LogLevel = _logLevel
210210
};
@@ -240,7 +240,7 @@ public static ITwilioRestClient GetRestClient()
240240
}
241241
else if(_credentialProvider != null){
242242
AuthStrategy authstrategy = _credentialProvider.ToAuthStrategy();
243-
_restClient = new TwilioRestClient(_username, _password, accountSid: _accountSid, region: _region, edge: _edge, authstrategy: _credentialProvider.ToAuthStrategy())
243+
_restClient = new TwilioRestClient(_username, _password, authstrategy: _credentialProvider.ToAuthStrategy(), accountSid: _accountSid, region: _region, edge: _edge)
244244
{
245245
LogLevel = _logLevel
246246
};

0 commit comments

Comments
 (0)