Many new api calls
This commit is contained in:
parent
e52378e03f
commit
d79a4485a6
6 changed files with 75 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue