From 994dd93f6c45c590ae59a699cbf425d96518da1e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 27 Apr 2020 21:42:10 -0700 Subject: fix lightning payments --- db/models/invoices.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db') 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), -- cgit v1.2.3