core: bump version

pull/210/head
undefined 3 years ago
parent 6deb824a8d
commit 36149301b0

@ -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);
}

Loading…
Cancel
Save