mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 02:35:09 +02:00
Init stake and commission to empty list on new monthly stats object
This commit is contained in:
parent
d507b77c1b
commit
34b7ec94f2
@ -201,12 +201,12 @@ const MonthlyStatSchema = new mongoose.Schema({
|
||||
latestCommission: {
|
||||
type: [OrchCommissionSchema],
|
||||
required: false,
|
||||
default: null
|
||||
default: []
|
||||
},
|
||||
latestTotalStake: {
|
||||
type: [OrchStakeSchema],
|
||||
required: false,
|
||||
default: null
|
||||
default: []
|
||||
},
|
||||
testScores: {
|
||||
type: Object,
|
||||
|
Loading…
x
Reference in New Issue
Block a user