Skip to content

Commit d20c7be

Browse files
authored
Update OAuthWithAuthorizationCode.php
set environment
1 parent 3a04056 commit d20c7be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Auth/OAuthWithAuthorizationCode.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public function withClientSecret($clientSecret) {
4141
* @return OAuthWithAuthorizationCode this builder
4242
*/
4343
public function withEnvironment($environment) {
44+
$this->Environment = $environment;
4445
$this->RedirectUri=LiveComOAuthService::getRedirectUrl($environment);
4546
return $this;
4647
}

0 commit comments

Comments
 (0)