From de20ad70c0afaf6e0560bc8b22b5fd4d4a953271 Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Fri, 17 Jul 2015 14:56:55 +0000
Subject: [PATCH] #0 fix - Fixed App ID REST client call
---
securis/src/main/webapp/js/admin.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/securis/src/main/webapp/js/admin.js b/securis/src/main/webapp/js/admin.js
index 387a333..521263e 100644
--- a/securis/src/main/webapp/js/admin.js
+++ b/securis/src/main/webapp/js/admin.js
@@ -213,7 +213,7 @@
var newAppId = $scope.formu['application_id'];
if (newAppId) {
// Only if there is a "valid" value selected we should update the metadata
- Catalogs.getResource('application').get({appId: newAppId}).$promise.then(function(app) {
+ Catalogs.getResource('application').get({id: newAppId}).$promise.then(function(app) {
$scope.formu.metadata = [];
app.metadata.forEach(function(md) {
$scope.formu.metadata.push({
--
Gitblit v1.3.2