From 36515509c6fbe9c4044db3dbe90862c85695a234 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Mon, 17 Feb 2014 15:54:24 +0000 Subject: [PATCH] KEYCLOAK-293 Fix generate new keys --- .../resources/META-INF/resources/admin/js/controllers/realm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js index 63683996e3..3109d6df84 100755 --- a/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js +++ b/admin-ui/src/main/resources/META-INF/resources/admin/js/controllers/realm.js @@ -599,7 +599,7 @@ module.controller('RealmKeysDetailCtrl', function($scope, Realm, realm, $http, $ $scope.generate = function() { Dialog.confirmGenerateKeys($scope.realm.realm, 'realm', function() { - Realm.update({ id: realm.realm, publicKey : 'GENERATE' }, function () { + Realm.update({ realm: realm.realm, publicKey : 'GENERATE' }, function () { Notifications.success('New keys generated for realm.'); Realm.get({ id : realm.realm }, function(updated) { $scope.realm = updated;