更新后端战令代码
This commit is contained in:
parent
91b07bc49d
commit
cddca62fb5
|
|
@ -165,7 +165,8 @@ async function settleExpiredRewards(
|
||||||
[USER_STATE_FIELD]: storedStateValue,
|
[USER_STATE_FIELD]: storedStateValue,
|
||||||
}).update({
|
}).update({
|
||||||
[USER_STATE_FIELD]: JungleConfig.serializeJungleState(settlement.state),
|
[USER_STATE_FIELD]: JungleConfig.serializeJungleState(settlement.state),
|
||||||
[PENDING_SETTLEMENT_FIELD]: pendingSettlement,
|
// 整体替换,避免 Laf 展开子字段后无法写入原值为 null 的结算记录。
|
||||||
|
[PENDING_SETTLEMENT_FIELD]: db.command.set(pendingSettlement),
|
||||||
...balances,
|
...balances,
|
||||||
timestamp: now,
|
timestamp: now,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user