From da567a11eef2b3536d58b44741e91988b1c33598 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 8 Jun 2023 09:21:05 +0200 Subject: Implement a bit more autonomy for the ships --- lib/contracts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/contracts.js') diff --git a/lib/contracts.js b/lib/contracts.js index a118ae4..abf32b3 100644 --- a/lib/contracts.js +++ b/lib/contracts.js @@ -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, }}); -- cgit v1.2.3