refreshAndprepareEd25519KeyPair → refreshAndPrepareEd25519KeyPair

This commit is contained in:
tamaina 2024-07-17 15:29:13 +09:00
parent 3777779aa9
commit c80b16cdf8
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ export class UserKeypairService implements OnApplicationShutdown {
* @returns MiUserKeypair if keypair is created, void if keypair is already exists
*/
@bindThis
public async refreshAndprepareEd25519KeyPair(userId: MiUser['id']): Promise<MiUserKeypair | void> {
public async refreshAndPrepareEd25519KeyPair(userId: MiUser['id']): Promise<MiUserKeypair | void> {
await this.refresh(userId);
const keypair = await this.keypairEntityCache.fetch(userId);
if (keypair.ed25519PublicKey != null) {

View File

@ -135,7 +135,7 @@ class DeliverManager {
/**
* ed25519の署名がなければ追加する
*/
const created = await this.userKeypairService.refreshAndprepareEd25519KeyPair(this.actor.id);
const created = await this.userKeypairService.refreshAndPrepareEd25519KeyPair(this.actor.id);
if (created) {
// createdが存在するということは新規作成されたということなので、フォロワーに配信する
this.logger.info(`ed25519 key pair created for user ${this.actor.id} and publishing to followers`);