diff --git a/public/viewjs/manageapikeys.js b/public/viewjs/manageapikeys.js index 07e03c46..b274fe1c 100644 --- a/public/viewjs/manageapikeys.js +++ b/public/viewjs/manageapikeys.js @@ -63,7 +63,7 @@ $(document).on('click', '.apikey-delete-button', function(e) }); $('.apikey-show-qr-button').on('click', function() { - var qrcodeHtml = getQRCodeForAPIKey($(this).data('apikey-key'), $(this).data('apikey-type')); + var qrcodeHtml = getQRCodeForAPIKey($(this).data('apikey-type'), $(this).data('apikey-key')); bootbox.alert({ title: __t('API key'), message: "
" + qrcodeHtml + "
",