Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 852624e

Browse files
committed
Fix for issue #1001:
blog feed is now loading on my-dashboard
1 parent 50b801e commit 852624e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/services/blog.service.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ import X2JS from 'xml2js'
1919

2020
// fetch blog rss feed
2121
$http.get(CONSTANTS.BLOG_LOCATION)
22-
.then(function(data) {
22+
.then(function(response) {
23+
var data = response.data
2324
// parse the blog rss feed using x2js
2425
var parseString = X2JS.parseString
2526
parseString(data.trim(), function (err, res) {

app/services/jwtInterceptor.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import { isTokenExpired, getFreshToken } from 'tc-accounts'
3838

3939
function getToken(config) {
4040
// skip token for .html
41-
if (config.url.indexOf('.html') > -1)
41+
if (config.url.indexOf('.html') > -1 || config.url === CONSTANTS.BLOG_LOCATION)
4242
return null
4343

4444
var haveItAddItEndpoints = [

0 commit comments

Comments
 (0)