Skip to content

Commit

Permalink
(fix) Recurring: only for beta mode (#246)
Browse files Browse the repository at this point in the history
* Recurring AO: only for beta

* send gid for failed request
  • Loading branch information
dmytroshch authored Sep 11, 2023
1 parent f9601ad commit 230c95f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/feature_flags.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"backtest": true,
"live_execution": true
},
"recurring_AOs": true
"recurring_AOs": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = async (server, ws, msg) => {
const { apiKey, apiSecret } = ws.getCredentials()

const sendStatus = (status) =>
send(ws, ['data.recur_ao_atomic_orders.status', status])
send(ws, ['data.recur_ao_atomic_orders.status', gid, status])

const validRequest = validateParams(ws, {
exID: { type: 'string', v: exID },
Expand Down

0 comments on commit 230c95f

Please sign in to comment.