MCPcopy Create free account
hub / github.com/error311/FileRise / queueGatewayCleanupJob

Function queueGatewayCleanupJob

public/js/adminPanel.js:4431–4437  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4429 };
4430
4431 const queueGatewayCleanupJob = async () => {
4432 const data = await apiPost('/api/pro/gateways/jobs/cleanup.php', {});
4433 setMcpJobsStatus(
4434 tf('gateway_job_queued', 'Job queued: {id}').replace('{id}', String(data?.jobId || '0')),
4435 'success'
4436 );
4437 };
4438
4439 const queueMcpAutotagJob = async () => {
4440 const mcpUserId = String(mcpAutotagUserEl?.value || '').trim();

Callers 1

initGatewaysSectionFunction · 0.85

Calls 3

setMcpJobsStatusFunction · 0.85
apiPostFunction · 0.70
tfFunction · 0.70

Tested by

no test coverage detected