Commit 2b021fe
committed
fix(hyperliquid): default fetchOHLCV params to {} so server dispatch survives
Server's flat-body dispatch passes a single merged object as args[0],
leaving args[1] undefined. The other HL read methods make params
optional; OHLCV did not, so calls without explicit start/end crashed
with 'Cannot read properties of undefined (reading start)'.
Reproduces via MCP: pmxt.fetchOHLCV({exchange:'hyperliquid', outcomeId:'hl-outcome-172', resolution:'1h'}).1 parent 3384cc6 commit 2b021fe
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments