mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 修复部分域rp计算异常的问题
This commit is contained in:
1 parent
a09d7b4b70
commit
cd3c74649c
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hydrooj",
|
"name": "hydrooj",
|
||||||
"version": "2.28.48",
|
"version": "2.28.49",
|
||||||
"bin": "bin/hydrooj.js",
|
"bin": "bin/hydrooj.js",
|
||||||
"main": "dist/loader.js",
|
"main": "dist/loader.js",
|
||||||
"typings": "dist/loader.d.ts",
|
"typings": "dist/loader.d.ts",
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ async function runInDomain(id: string, isSub: boolean, report: Function) {
|
|||||||
if (info) info.union.push(id);
|
if (info) info.union.push(id);
|
||||||
const udict: ND = {};
|
const udict: ND = {};
|
||||||
const deltaudict: ND = {};
|
const deltaudict: ND = {};
|
||||||
const domainId = info ? { $in: info.union } : { $exists: false };
|
const domainId = info ? { $in: info.union } : id;
|
||||||
const dudocs = unionWith([
|
const dudocs = unionWith([
|
||||||
...await domain.getMultiUserInDomain(id).toArray(),
|
...await domain.getMultiUserInDomain(id).toArray(),
|
||||||
...await domain.getMultiUserInDomain('', { domainId }).toArray(),
|
...await domain.getMultiUserInDomain('', { domainId }).toArray(),
|
||||||
|
|||||||
Reference in new issue
Block a user