mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: bump version
This commit is contained in:
1 parent
6deb824a8d
commit
36149301b0
2 files changed
+3
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.35.4",
|
||||
"version": "2.35.5",
|
||||
"bin": "bin/hydrooj.js",
|
||||
"main": "src/loader",
|
||||
"module": "src/loader",
|
||||
|
||||
@@ -501,8 +501,9 @@ export async function getRelated(domainId: string, pid: ProblemId, type: Type =
|
||||
|
||||
export function getStatus(
|
||||
domainId: string, tid: ObjectID, uid: number,
|
||||
type: 30 | 60 = document.TYPE_CONTEST,
|
||||
type: 30 | 60 | -1 = document.TYPE_CONTEST,
|
||||
) {
|
||||
if (type === -1) type = { $in: [30, 60] } as any;
|
||||
return document.getStatus(domainId, type, tid, uid);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user