Fixes #1092: Repair QR-Codes for API-Keys (#1093)

This commit is contained in:
fipwmaqzufheoxq92ebc
2020-10-25 08:42:58 +01:00
committed by GitHub
parent be18d59735
commit 7ef9ffe041

View File

@@ -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: "<p class='text-center'>" + qrcodeHtml + "</p>",