From 0709615ffb6525b0e06337ca446dc3f95d091560 Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Mon, 1 Apr 2019 14:24:29 +0200 Subject: [PATCH] [fix] Graph: Revert identity loading, to use cache --- www/plugins/graph/js/controllers/account-controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/plugins/graph/js/controllers/account-controllers.js b/www/plugins/graph/js/controllers/account-controllers.js index 6d2a5ab7b..fabbf9c46 100644 --- a/www/plugins/graph/js/controllers/account-controllers.js +++ b/www/plugins/graph/js/controllers/account-controllers.js @@ -136,7 +136,7 @@ function GpAccountBalanceController($scope, $controller, $q, $state, $filter, $t var withUD = true; - return csWot.loadRequirements({pubkey: $scope.formData.pubkey}) + return csWot.load($scope.formData.pubkey, null/*uid*/, {cache: true}) .then(function(identity) { $scope.identity = identity; withUD = $scope.identity.isMember || $scope.identity.wasMember; -- GitLab