Merge pull request #302 from glyptodon/GUAC-1429
GUAC-1429: Return whole objects instead of identifiers to fix text/plain conversion error.
This commit is contained in:
commit
91f8f5b06b
9 files changed
+43
-37
No files matched your search
@@ -145,8 +145,8 @@ angular.module('rest').factory('connectionGroupService', ['$injector',
|
||||
})
|
||||
|
||||
// Set the identifier on the new connection group and clear the cache
|
||||
.success(function connectionGroupCreated(identifier){
|
||||
connectionGroup.identifier = identifier;
|
||||
.success(function connectionGroupCreated(newConnectionGroup){
|
||||
connectionGroup.identifier = newConnectionGroup.identifier;
|
||||
cacheService.connections.removeAll();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -152,8 +152,8 @@ angular.module('rest').factory('connectionService', ['$injector',
|
||||
})
|
||||
|
||||
// Set the identifier on the new connection and clear the cache
|
||||
.success(function connectionCreated(identifier){
|
||||
connection.identifier = identifier;
|
||||
.success(function connectionCreated(newConnection){
|
||||
connection.identifier = newConnection.identifier;
|
||||
cacheService.connections.removeAll();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user