mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: fix problem solution vote race condition (#861)
This commit is contained in:
1 parent
598972b1c9
commit
8903486c6c
6 files changed
+54
-51
No files matched your search
@@ -86,7 +86,7 @@ class DataReportHandler extends Handler {
|
||||
this.ctx.emit('center/report', this, installId, old, payload);
|
||||
// TODO deliver messages
|
||||
this.response.body = { code: 0 };
|
||||
if (old.notification) this.response.body.notification = old?.notification;
|
||||
if (old?.notification) this.response.body.notification = old?.notification;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user