aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.WebDashboard/Html/scripts/SupporterKeyPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.WebDashboard/Html/scripts/SupporterKeyPage.js')
-rw-r--r--MediaBrowser.WebDashboard/Html/scripts/SupporterKeyPage.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/MediaBrowser.WebDashboard/Html/scripts/SupporterKeyPage.js b/MediaBrowser.WebDashboard/Html/scripts/SupporterKeyPage.js
index 50da44331..cebc47764 100644
--- a/MediaBrowser.WebDashboard/Html/scripts/SupporterKeyPage.js
+++ b/MediaBrowser.WebDashboard/Html/scripts/SupporterKeyPage.js
@@ -37,9 +37,7 @@
LegacyKey: legacyKey
};
- var url = ApiClient.getUrl("Plugins/SecurityInfo");
- console.log(url);
- $.post(url, JSON.stringify(info)).done(function () {
+ ApiClient.updateSecurityInfo(info).done(function () {
Dashboard.resetPluginSecurityInfo();
Dashboard.hideLoadingMsg();
SupporterPage.load();