Also fetch the appstore account profile

This commit is contained in:
Johannes Zellner
2016-07-26 16:56:18 +02:00
parent 5da766131b
commit b132b2dc15

View File

@@ -380,6 +380,12 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
if (error) return console.error(error);
$scope.appstoreConfig = result;
AppStore.getProfile(result.token, function (error, result) {
if (error) return console.error(error);
$scope.appstoreConfig.profile = result;
});
});
}
});