mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 19:30:15 +01:00
refactor(Tx): record rate and use Math.ceil instead of Math.floor
This commit is contained in:
parent
599d70f1de
commit
09c03b9df0
2 changed files with 5 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ const transactionSchema = mongoose.Schema({
|
|||
valueKey: {
|
||||
type: String,
|
||||
},
|
||||
rate: Number,
|
||||
rawAmount: Number,
|
||||
tokenValue: Number,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue