Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: eval not working for api #322

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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.",
Expand Down
3 changes: 2 additions & 1 deletion src/lib/server/services/apiCall.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(docs)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down