From a2c5832afff04fed6065697211dbfbad54806cfd Mon Sep 17 00:00:00 2001 From: operator-main Date: Sun, 4 Oct 2026 16:48:38 +0000 Subject: [PATCH] fix(web): pass type field in strat modal payload to match VM API schema --- web/box/www/box.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/box/www/box.js b/web/box/www/box.js index 2d97f8c..d6224d2 100644 --- a/web/box/www/box.js +++ b/web/box/www/box.js @@ -1083,6 +1083,7 @@ const saveBtn = document.getElementById('modal-strat-save-btn'); saveBtn.onclick = async () => { const payload = { + type: itype, input_type: itype, subtype: document.getElementById('modal-strat-subtype').value.trim() || null, agent: document.getElementById('modal-strat-agent').value.trim() || null,