mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
1 parent
584a0edca6
commit
f7478ab346
12 files changed
+141
-62
No files matched your search
@@ -2,7 +2,7 @@ import nodejieba from 'nodejieba';
|
||||
import { Pdoc } from 'hydrooj';
|
||||
import * as document from 'hydrooj/dist/model/document';
|
||||
|
||||
export const description = 'Ensure index for peoblem search';
|
||||
export const description = 'Ensure index for problem search';
|
||||
|
||||
export async function run() {
|
||||
await document.coll.find({ docType: document.TYPE_PROBLEM }).forEach(async (doc: Pdoc) => {
|
||||
|
||||
Reference in new issue
Block a user