mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/caddy: Fix CaddyCertificate.js not loading (#4091)
There were two ajaxGet, and I forgot to rename one into ajaxCall.
This commit is contained in:
@@ -59,7 +59,7 @@ export default class CaddyCertificate extends BaseTableWidget {
|
||||
}
|
||||
|
||||
// Fetch the certificate details
|
||||
const response = await this.ajaxGet('/api/caddy/diagnostics/certificate');
|
||||
const response = await this.ajaxCall('/api/caddy/diagnostics/certificate');
|
||||
if (response.status !== "success") {
|
||||
this.displayError(`${this.translations.nocerts}`);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user