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
@@ -73,7 +73,7 @@ export class SonicService extends Service {
.then(() => this.push('problem', `${pdoc.domainId}@content`, id, pdoc.content.toString())),
]).catch((e) => logger.error(e));
});
yield this.ctx.on('problem/del', async (domainId, docId) => {
yield this.ctx.on('problem/delete', async (domainId, docId) => {
const id = `${domainId}/${docId}`;
await Promise.all([
this.flusho('problem', `${domainId}@title`, id),