Skip to content
Permalink
Browse files

update model interface

  • Loading branch information...
khaihkd committed Jul 24, 2018
1 parent f2e6138 commit 0fb5c4e34ab89611f21391b95bfad9b40fed78e5
Showing with 5 additions and 2 deletions.
  1. +1 −1 models/mongodb/block.js
  2. +4 −1 models/mongodb/transaction.js
@@ -24,7 +24,7 @@ const Block = new Schema({
timestamp: {
type: Number
},
isProcess: {
isFinish: {
type: Boolean
}
}, { timestamps: false })
@@ -23,7 +23,10 @@ const Transaction = new Schema({
tokenAmount: {
type: Number
},
isProcess: {
isAddToken: {
type: Boolean
},
isSubToken: {
type: Boolean
}
}, { timestamps: false })

0 comments on commit 0fb5c4e

Please sign in to comment.
You can’t perform that action at this time.