Add missing callback

This commit is contained in:
Johannes Zellner
2017-01-16 12:35:26 +01:00
parent 2dfb91dcc9
commit 2c06b9325f

View File

@@ -516,7 +516,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
Client.getAppstoreConfig(function (error, result) {
if (error) return callback(error);
if (!result.token || !result.cloudronId) return;
if (!result.token || !result.cloudronId) return callback();
$scope.appstoreConfig = result;