mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/etpro-telemetry - change GET to ajaxCall
This commit is contained in:
@@ -42,7 +42,7 @@ export default class ETProTelemetry extends BaseTableWidget {
|
||||
}
|
||||
|
||||
async onWidgetTick() {
|
||||
const data = await this.ajaxGet('/api/diagnostics/proofpoint_et/status');
|
||||
const data = await this.ajaxCall('/api/diagnostics/proofpoint_et/status');
|
||||
if (data['sensor_status'] == 'active') {
|
||||
$('#etpro_sensor_status').text(data['sensor_status']);
|
||||
$('#etpro_event_received').text(data['event_received']);
|
||||
|
||||
Reference in New Issue
Block a user