mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: limit access for hidden problems' submission
This commit is contained in:
1 parent
77fc46c069
commit
738d622225
14 files changed
+52
-53
No files matched your search
@@ -114,6 +114,10 @@ class TaskModel {
|
||||
return coll.deleteOne({ _id });
|
||||
}
|
||||
|
||||
static deleteMany(query: FilterQuery<Task>) {
|
||||
return coll.deleteMany(query);
|
||||
}
|
||||
|
||||
static getFirst = getFirst;
|
||||
|
||||
static async getDelay(query?: FilterQuery<Task>): Promise<[number, Date]> {
|
||||
|
||||
Reference in new issue
Block a user