diff --git a/awx/ui/client/src/inventories/sources/add/sources-add.controller.js b/awx/ui/client/src/inventories/sources/add/sources-add.controller.js index ecfe09940f..32dc70a7e6 100644 --- a/awx/ui/client/src/inventories/sources/add/sources-add.controller.js +++ b/awx/ui/client/src/inventories/sources/add/sources-add.controller.js @@ -108,7 +108,7 @@ export default ['$state', '$stateParams', '$scope', 'SourcesFormDefinition', // // and pass the related endpoint // _.assign(params, { group: res.data.id }), res.data.related.inventory_source)) // .then(res => $state.go('inventoryManage.editGroup', { group_id: res.data.group }, { reload: true })); - SourcesService.post({params}).then(function(){ + SourcesService.post(params).then(function(){ $state.go('.', null, {reload: true}); }); // break;