Skip to content

Commit

Permalink
Merge pull request #20 from eddiemoore/accessToken
Browse files Browse the repository at this point in the history
Fixing access token
  • Loading branch information
eddiemoore committed May 10, 2015
2 parents 775a4fb + a0f5722 commit abb486f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-spotify",
"version": "0.13.0",
"version": "0.14.0",
"authors": [
"Ed Moore <[email protected]>"
],
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-spotify.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-spotify",
"version": "0.13.0",
"version": "0.14.0",
"description": "Angular Service to connect to Spotify Web API",
"main": "Gruntfile.js",
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions src/angular-spotify.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
settings.clientId = null;
settings.redirectUri = null;
settings.scope = null;
settings.accessToken = null;
settings.authToken = null;

this.setClientId = function (clientId) {
settings.clientId = clientId;
Expand All @@ -21,9 +21,9 @@
return settings.clientId;
};

this.setAuthToken = function (accessToken) {
settings.accessToken = accessToken;
return settings.accessToken;
this.setAuthToken = function (authToken) {
settings.authToken = authToken;
return settings.authToken;
};

this.setRedirectUri = function (redirectUri) {
Expand Down Expand Up @@ -61,7 +61,7 @@
this.redirectUri = settings.redirectUri;
this.apiBase = settings.apiBase;
this.scope = settings.scope;
this.accessToken = settings.accessToken;
this.authToken = settings.authToken;
this.toQueryString = utils.toQueryString;
}

Expand Down

0 comments on commit abb486f

Please sign in to comment.