From 746b06e3179c5007273eace7b6de546f663d43b1 Mon Sep 17 00:00:00 2001 From: igor Date: Thu, 16 Oct 2025 01:39:59 +0200 Subject: [PATCH] added response all result for special call __HELP__ --- src/typescript.tpl.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/typescript.tpl.php b/src/typescript.tpl.php index 04fb304..10a8b33 100644 --- a/src/typescript.tpl.php +++ b/src/typescript.tpl.php @@ -36,6 +36,10 @@ class apiName; ?> { callPromise(method, data) { return new Promise((resolve, reject) => { this.call(method, data, function(response) { + if (method == '__HELP__') { + resolve(response); + return; + } if (response.status == 'OK') { resolve(response.data); } else {