diff options
Diffstat (limited to 'automation')
-rw-r--r-- | automation/contract.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automation/contract.js b/automation/contract.js index bf428e9..aebb265 100644 --- a/automation/contract.js +++ b/automation/contract.js @@ -13,7 +13,7 @@ export async function auto(ctx) { let contract = cs[0]; if (!contract.accepted) { console.log(new Date(), `accepting contract ${contract.id}`); - await contracts.accept({id: contract.id}); + await contracts.accept({contract: contract.id}); } const good = contract.terms.deliver[0].tradeSymbol; const deliveryPoint = contract.terms.deliver[0].destinationSymbol; |