1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Converted GetSessionKey and RSAKeyGeneratorView to ViewSets

This commit is contained in:
Jeremy Stretch
2017-03-08 17:57:51 -05:00
parent c19725506d
commit 7e6d061646
3 changed files with 28 additions and 14 deletions

View File

@@ -92,7 +92,7 @@ $(document).ready(function() {
$('#generate_keypair').click(function() {
$('#new_keypair_modal').modal('show');
$.ajax({
url: netbox_api_path + 'secrets/generate-keys/',
url: netbox_api_path + 'secrets/generate-rsa-key-pair/',
type: 'GET',
dataType: 'json',
success: function (response, status) {