Skip to content

Commit

Permalink
Merge pull request #355 from smartdevicelink/release/5.3.1
Browse files Browse the repository at this point in the history
Hotfix Release 5.3.1
  • Loading branch information
Jack-Byrne authored May 1, 2020
2 parents 8b978df + 1c1c867 commit 38d5a9d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/controller/InfoController.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,12 @@ SDL.InfoController = Em.Object.create(
* @param {String} response string containing server response
*/
processAppsStoreResponse: function(response) {
var json_content = response;
var json_content = [];
if (response.data && response.data.applications) {
json_content = response.data.applications
} else {
json_content = response
}

if (!Array.isArray(json_content)) {
Em.Logger.log('Wrong data format!');
Expand Down

0 comments on commit 38d5a9d

Please sign in to comment.