aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-04-27 21:42:10 -0700
committerAdam Soltys <[email protected]>2020-04-28 22:33:02 -0700
commit994dd93f6c45c590ae59a699cbf425d96518da1e (patch)
tree89b2a980fbad1e964e91ca3750b89051ddfb32f0 /db/models
parente166ab2c743e4c66eacb51c6484711c5965dd090 (diff)
downloadcoinos-server-994dd93f6c45c590ae59a699cbf425d96518da1e.tar.gz
coinos-server-994dd93f6c45c590ae59a699cbf425d96518da1e.zip
fix lightning payments
Diffstat (limited to 'db/models')
-rw-r--r--db/models/invoices.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/models/invoices.js b/db/models/invoices.js
index 2a7f3013..a2485ec5 100644
--- a/db/models/invoices.js
+++ b/db/models/invoices.js
@@ -55,14 +55,14 @@ const attributes = {
comment: null,
field: "rate"
},
- asset: {
+ network: {
type: DataTypes.STRING(255),
allowNull: true,
defaultValue: null,
primaryKey: false,
autoIncrement: false,
comment: null,
- field: "asset"
+ field: "network"
},
currency: {
type: DataTypes.STRING(255),