summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2023-10-26 19:08:06 +0200
committerJulien Dessaux2023-10-26 19:08:06 +0200
commitd8516c4ceb769d1e5e7fa88fc1335f65cd14065e (patch)
tree61f41675e2e3bfaff45de87a8efd9598adbe950a
parent[javascript] Track credits on contract fulfillment (diff)
downloadspacetraders-d8516c4ceb769d1e5e7fa88fc1335f65cd14065e.tar.gz
spacetraders-d8516c4ceb769d1e5e7fa88fc1335f65cd14065e.tar.bz2
spacetraders-d8516c4ceb769d1e5e7fa88fc1335f65cd14065e.zip
Renamed agents so that both versions can run at the same time
Diffstat (limited to '')
-rw-r--r--haskell/src/SpaceTraders/Automation/Init.hs2
-rw-r--r--nodejs/automation/init.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/haskell/src/SpaceTraders/Automation/Init.hs b/haskell/src/SpaceTraders/Automation/Init.hs
index 6a368ca..7608867 100644
--- a/haskell/src/SpaceTraders/Automation/Init.hs
+++ b/haskell/src/SpaceTraders/Automation/Init.hs
@@ -49,7 +49,7 @@ initST = do
registerST :: SpaceTradersT (T.Text)
registerST = do
- r <- register "ADYXAX" "COSMIC"
+ r <- register "ADYXAX-HS" "COSMIC"
case r of
Right r' -> do
addAgent $ agent r'
diff --git a/nodejs/automation/init.js b/nodejs/automation/init.js
index 21131e7..b921942 100644
--- a/nodejs/automation/init.js
+++ b/nodejs/automation/init.js
@@ -14,7 +14,7 @@ export async function init() {
'Content-Type': 'application/json',
},
body: JSON.stringify({
- symbol: "ADYXAX",
+ symbol: "ADYXAX-JS",
faction: "COSMIC",
}),
});