Skip to content

Commit

Permalink
Merge pull request #33 from padhie/fix_auth_url
Browse files Browse the repository at this point in the history
remove internal properties instead if method parameter
  • Loading branch information
padhie authored Mar 9, 2022
2 parents e6c5bd1 + 21ae50b commit e31f4ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "padhie/twitch-api-bundle",
"version": "1.2.2",
"version": "1.2.3",
"type": "library",
"keywords": [
"twitch",
Expand Down
3 changes: 1 addition & 2 deletions src/Service/TwitchApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ public function setAdditionalString(string $additional): self
public function getAccessTokenUrl(array $scopeList = []): string
{
return sprintf(
'%soauth2/authorize?response_type=token&client_id=%s&scope=%s&redirect_uri=%s',
$this->baseUrl,
'https://id.twitch.tv/oauth2/authorize?response_type=token&client_id=%s&scope=%s&redirect_uri=%s',
$this->clientId,
implode('+', $scopeList),
$this->redirectUrl
Expand Down

0 comments on commit e31f4ad

Please sign in to comment.