core: move problem/del to problem/delete

This commit is contained in:
undefined committed 2025-10-17 19:36:42 +08:00
1 parent 2858e96414
commit 7893ea38d7
5 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ export default class ElasticSearchService extends Service {
document: processDocument(pdoc),
});
});
this.ctx.on('problem/del', async (domainId, docId) => {
this.ctx.on('problem/delete', async (domainId, docId) => {
await this.client.delete({
index: 'problem',
id: `${domainId}/${docId}`,