aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-18 20:10:26 -0800
committerAdam Soltys <[email protected]>2023-01-18 20:10:26 -0800
commit90ddef9f0dd93e8f980eb728cf0519d9215163f0 (patch)
treec624d53de9b2cd3cacff07c5e4fc6a6f0230d1f7
parent963aa2d12683ad3cf9ab2927efa5361945a8bc58 (diff)
downloadcoinos-server-90ddef9f0dd93e8f980eb728cf0519d9215163f0.tar.gz
coinos-server-90ddef9f0dd93e8f980eb728cf0519d9215163f0.zip
build app container
-rw-r--r--docker-compose.yml1
-rw-r--r--routes/payments.js1
2 files changed, 1 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 0555775d..3cf2b5aa 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,6 +2,7 @@ version: '3.6'
services:
app:
image: cs
+ build: .
container_name: app
depends_on:
- db
diff --git a/routes/payments.js b/routes/payments.js
index 50831a7c..ba701bef 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -268,7 +268,6 @@ export default {
amount = parseInt(amount)
await t(`pot:${name}`, async balance => {
await new Promise(r => setTimeout(r, 100));
- console.log("BAL", balance, amount)
if (balance < amount) fail("Insufficient funds");
return balance - amount;
});