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