This commit is contained in:
mattyatea 2024-05-11 00:05:48 +09:00
parent e270586662
commit ec41d0d1dc
3 changed files with 2 additions and 6 deletions

View file

@ -28,7 +28,6 @@ export class AccountUpdateService {
@bindThis
public async publishToFollowers(userId: MiUser['id']) {
console.time('time AccountUpdateService.publishToFollowers');
const user = await this.usersRepository.findOneBy({ id: userId });
if (user == null) throw new Error('user not found');
@ -38,6 +37,5 @@ export class AccountUpdateService {
this.apDeliverManagerService.deliverToFollowers(user, content);
this.relayService.deliverToRelays(user, content);
}
console.timeEnd('time AccountUpdateService.publishToFollowers');
}
}