fix: eval not working for api

This commit is contained in:
Raj Nandan Sharma
2025-02-27 06:29:39 +05:30
parent fadb563337
commit 43bbcf4015
3 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "kener",
"version": "3.1.9",
"version": "3.1.10",
"private": false,
"license": "MIT",
"description": "Kener: An open-source Node.js status page application for real-time service monitoring, incident management, and customizable reporting. Simplify service outage tracking, enhance incident communication, and ensure a seamless user experience.",

View File

@@ -46,7 +46,8 @@ class ApiCall {
let method = this.monitor.type_data.method;
let timeout = this.monitor.type_data.timeout || 5000;
let tag = this.monitor.tag;
let monitorEval = !!this.monitor.type_data.monitorEval ? this.monitor.type_data.monitorEval : defaultEval;
let monitorEval = !!this.monitor.type_data.eval ? this.monitor.type_data.eval : defaultEval;
for (let i = 0; i < this.envSecrets.length; i++) {
const secret = this.envSecrets[i];

View File

@@ -92,7 +92,7 @@
<!-- Document Icon - Replace with your own logo -->
<img src="https://kener.ing/logo.png" class="h-8 w-8" alt="" />
<span class="text-xl font-medium">Kener Documentation</span>
<span class="me-2 rounded border px-2.5 py-0.5 text-xs font-medium"> 3.1.9 </span>
<span class="me-2 rounded border px-2.5 py-0.5 text-xs font-medium"> 3.1.10 </span>
</a>
</div>