update
This commit is contained in:
parent
e270586662
commit
ec41d0d1dc
3 changed files with 2 additions and 6 deletions
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue