Compare commits
2 Commits
e95928b060
...
afe6ddc20b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
afe6ddc20b | ||
![]() |
b466826d94 |
@ -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: []}},
|
||||
{$set: {sTime: sTime, recIndex: [], round: 0}},
|
||||
{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
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user