chore: import coordenador (subtree)
git-subtree-dir: coordenador git-subtree-mainline:facbe2e340git-subtree-split:ce7af94d55
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const config = $('Config - Coordenador GLPI v2').first().json;
|
||||
const glpiBaseUrl = String(config.glpi_base_url || '').replace(/\/$/, '').replace(/'/g, "''");
|
||||
|
||||
const queryTemplate = /* __SQL_LEGADO_V1_VERBATIM__ */;
|
||||
|
||||
const query = queryTemplate
|
||||
.replaceAll('{DIAS_SEM_INTERACAO_ALERTA}', '2')
|
||||
.replaceAll('{HORAS_SLA_RISCO}', '8')
|
||||
.replaceAll('{GLPI_BASE_URL}', glpiBaseUrl);
|
||||
|
||||
return [{ json: { query } }];
|
||||
Reference in New Issue
Block a user