From fcbd9cf56c565bd5f7bfea5c683acb3aa88e568b Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 18 Mar 2024 01:16:01 +0100 Subject: [javascript] Implement the selling loop of the contracting automation --- nodejs/lib/ships.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nodejs/lib/ships.js') diff --git a/nodejs/lib/ships.js b/nodejs/lib/ships.js index f6cb027..6415cdb 100644 --- a/nodejs/lib/ships.js +++ b/nodejs/lib/ships.js @@ -139,7 +139,7 @@ export async function refuel(ctx) { } export async function sell(ctx) { - // TODO check if our current waypoint has a marketplace (and sells fuel)? + // TODO check if our current waypoint has a marketplace? await dock(ctx); const ship = dbShips.getShip(ctx.symbol); const response = await api.send({endpoint: `/my/ships/${ctx.symbol}/sell`, method: 'POST', payload: { symbol: ctx.good, units: ctx.units }}); -- cgit v1.2.3