Compare commits

..

No commits in common. "afe6ddc20bace085ffd592d9ae4038c7e2692a89" and "e95928b060ae58c3e879a223d7579aad18fa43dc" have entirely different histories.

View File

@ -19,7 +19,7 @@ export default async function (call: ApiCall<ReqOpen, ResOpen>) {
if (!db) {
await G.mongodb.cEvent(_dbType).updateOne(
{uid: call.uid, type: _dbType},
{$set: {sTime: sTime, recIndex: [], round: 0}},
{$set: {sTime: sTime, recIndex: []}},
{upsert: true}
);
}
@ -33,6 +33,6 @@ export default async function (call: ApiCall<ReqOpen, ResOpen>) {
recIndex: db?.recIndex || [],
payNum: payNum,
hdinfo: _hdinfo,
round: db?.round || 0
round: db.round || 0
});
}