1
0
Fork 0

Implement a bit more autonomy for the ships

This commit is contained in:
Julien Dessaux 2023-06-08 09:21:05 +02:00
parent 4d5384aa43
commit da567a11ee
Signed by: adyxax
GPG key ID: F92E51B86E07177E
5 changed files with 51 additions and 40 deletions

View file

@ -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,
}});