fix(web): pass type field in strat modal payload to match VM API schema
This commit is contained in:
@@ -1083,6 +1083,7 @@
|
|||||||
const saveBtn = document.getElementById('modal-strat-save-btn');
|
const saveBtn = document.getElementById('modal-strat-save-btn');
|
||||||
saveBtn.onclick = async () => {
|
saveBtn.onclick = async () => {
|
||||||
const payload = {
|
const payload = {
|
||||||
|
type: itype,
|
||||||
input_type: itype,
|
input_type: itype,
|
||||||
subtype: document.getElementById('modal-strat-subtype').value.trim() || null,
|
subtype: document.getElementById('modal-strat-subtype').value.trim() || null,
|
||||||
agent: document.getElementById('modal-strat-agent').value.trim() || null,
|
agent: document.getElementById('modal-strat-agent').value.trim() || null,
|
||||||
|
|||||||
Reference in New Issue
Block a user