update adhoc command queries for api v2

This commit is contained in:
Jake McDermott 2019-06-06 10:20:59 -04:00 committed by Ryan Petrello
parent 2f57a1ea93
commit 7a0a2fb54c
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -28,7 +28,7 @@ function adhocController($q, $scope, $stateParams,
return {
adhocUrl: GetBasePath('inventory') + id + '/ad_hoc_commands/',
inventoryUrl: GetBasePath('inventory') + id + '/',
machineCredentialUrl: GetBasePath('credentials') + '?kind=ssh'
machineCredentialUrl: GetBasePath('credentials') + '?credential_type__namespace=ssh'
};
};