Skip to content

Commit 3a04056

Browse files
authored
Update OAuthDesktopMobileImplicitGrant.php
set environment
1 parent 6b77f5b commit 3a04056

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Auth/OAuthDesktopMobileImplicitGrant.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public function withState($state) {
3838
* @return OAuthDesktopMobileImplicitGrant this builder
3939
*/
4040
public function withEnvironment($environment) {
41+
$this->Environment = $environment;
4142
$this->RedirectUri=LiveComOAuthService::getRedirectUrl($environment);
4243
return $this;
4344
}

0 commit comments

Comments
 (0)