core: bump version

This commit is contained in:
undefined committed 2021-09-16 21:47:26 +08:00
1 parent 6deb824a8d
commit 36149301b0
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -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);
}