From 6b02efac32b4068f67196705bd076d9f3e6d8835 Mon Sep 17 00:00:00 2001 From: tamaina Date: Tue, 5 Mar 2024 13:18:00 +0000 Subject: [PATCH] delivre --- packages/backend/src/core/UserSuspendService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/core/UserSuspendService.ts b/packages/backend/src/core/UserSuspendService.ts index 042e13a540..7abeb3d46d 100644 --- a/packages/backend/src/core/UserSuspendService.ts +++ b/packages/backend/src/core/UserSuspendService.ts @@ -31,7 +31,7 @@ export class UserSuspendService { const content = this.apRendererService.addContext(this.apRendererService.renderDelete(this.userEntityService.genLocalUserUri(user.id), user)); const manager = this.apDeliverManagerService.createDeliverManager(user, content); manager.addAllKnowingSharedInboxRecipe(); - // process delivre時にはキーペアが消去されているはずなので、ここで挿入する + // process deliver時にはキーペアが消去されているはずなので、ここで挿入する const privateKey = await this.userKeypairService.getLocalUserKeypairWithKeyId(user.id, 'main'); manager.execute({ privateKey }); } @@ -45,7 +45,7 @@ export class UserSuspendService { const content = this.apRendererService.addContext(this.apRendererService.renderUndo(this.apRendererService.renderDelete(this.userEntityService.genLocalUserUri(user.id), user), user)); const manager = this.apDeliverManagerService.createDeliverManager(user, content); manager.addAllKnowingSharedInboxRecipe(); - // process delivre時にはキーペアが消去されているはずなので、ここで挿入する + // process deliver時にはキーペアが消去されているはずなので、ここで挿入する const privateKey = await this.userKeypairService.getLocalUserKeypairWithKeyId(user.id, 'main'); manager.execute({ privateKey }); }