mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +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: {
|
latestCommission: {
|
||||||
type: [OrchCommissionSchema],
|
type: [OrchCommissionSchema],
|
||||||
required: false,
|
required: false,
|
||||||
default: null
|
default: []
|
||||||
},
|
},
|
||||||
latestTotalStake: {
|
latestTotalStake: {
|
||||||
type: [OrchStakeSchema],
|
type: [OrchStakeSchema],
|
||||||
required: false,
|
required: false,
|
||||||
default: null
|
default: []
|
||||||
},
|
},
|
||||||
testScores: {
|
testScores: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user