Implement a bit more autonomy for the ships
This commit is contained in:
parent
4d5384aa43
commit
da567a11ee
5 changed files with 51 additions and 40 deletions
|
@ -10,7 +10,7 @@ export async function contracts() {
|
|||
|
||||
export async function deliver(ctx) {
|
||||
return await api.send({ endpoint: `/my/contracts/${ctx.contract}/deliver`, method: 'POST', payload: {
|
||||
shipSymbol: ctx.ship,
|
||||
shipSymbol: ctx.symbol,
|
||||
tradeSymbol: ctx.good,
|
||||
units: ctx.units,
|
||||
}});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue