Skip to content

Commit

Permalink
Fix the errors in output console
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Shumilova <ashumilo@redhat.com>
  • Loading branch information
ashumilova committed Jul 25, 2019
1 parent befb741 commit 1b4cc73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard/src/components/github/github-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ export class GitHubService {
.factory('gitHubTokenStore', function () {
return {
setToken: function (token: string) {
sessionStorage.githubToken = token;
sessionStorage.setItem('githubToken', token);
},
getToken: function () {
return sessionStorage.githubToken;
return sessionStorage.getItem('githubToken');
}
};
}).factory('gitHubApiUtils', ['gitHubApiUrlRoot', function (gitHubApiUrlRoot: string) {
Expand Down

0 comments on commit 1b4cc73

Please sign in to comment.