From ee1e2aa200f1b0ebc8b7337048b1c3d538961ea8 Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 19 Jul 2023 07:05:02 +0000 Subject: [PATCH] fix --- .../src/core/activitypub/models/ApPersonService.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/backend/src/core/activitypub/models/ApPersonService.ts b/packages/backend/src/core/activitypub/models/ApPersonService.ts index 028b5148b..8fc083719 100644 --- a/packages/backend/src/core/activitypub/models/ApPersonService.ts +++ b/packages/backend/src/core/activitypub/models/ApPersonService.ts @@ -361,6 +361,11 @@ export class ApPersonService implements OnModuleInit { } }); + this.usersChart.update(user, true); + + // ハッシュタグ更新 + this.hashtagService.updateUsertags(user, tags); + //#region アバターとヘッダー画像をフェッチ try { const updates = await this.resolveAvatarAndBanner(user, person.icon, person.image); @@ -374,11 +379,6 @@ export class ApPersonService implements OnModuleInit { } //#endregion - this.usersChart.update(user, true); - - // ハッシュタグ更新 - this.hashtagService.updateUsertags(user, tags); - await this.updateFeatured(user.id, resolver).catch(err => this.logger.error(err)); return user;