summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/UserBlockingService.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-02-04 10:02:03 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-02-04 10:02:03 +0900
commitb7522f69e76f5b48c0b6a8fadcf5377c455988d6 (patch)
treec3a538815ded8368955b372dddc5b8d22c2c3e69 /packages/backend/src/core/UserBlockingService.ts
parent13.3.1 (diff)
downloadsharkey-b7522f69e76f5b48c0b6a8fadcf5377c455988d6.tar.gz
sharkey-b7522f69e76f5b48c0b6a8fadcf5377c455988d6.tar.bz2
sharkey-b7522f69e76f5b48c0b6a8fadcf5377c455988d6.zip
fix typo
Diffstat (limited to 'packages/backend/src/core/UserBlockingService.ts')
-rw-r--r--packages/backend/src/core/UserBlockingService.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/backend/src/core/UserBlockingService.ts b/packages/backend/src/core/UserBlockingService.ts
index c923700427..a65a0bf313 100644
--- a/packages/backend/src/core/UserBlockingService.ts
+++ b/packages/backend/src/core/UserBlockingService.ts
@@ -42,7 +42,7 @@ export class UserBlockingService {
private userEntityService: UserEntityService,
private idService: IdService,
private queueService: QueueService,
- private globalEventServie: GlobalEventService,
+ private globalEventService: GlobalEventService,
private webhookService: WebhookService,
private apRendererService: ApRendererService,
private perUserFollowingChart: PerUserFollowingChart,
@@ -97,15 +97,15 @@ export class UserBlockingService {
if (this.userEntityService.isLocalUser(followee)) {
this.userEntityService.pack(followee, followee, {
detail: true,
- }).then(packed => this.globalEventServie.publishMainStream(followee.id, 'meUpdated', packed));
+ }).then(packed => this.globalEventService.publishMainStream(followee.id, 'meUpdated', packed));
}
if (this.userEntityService.isLocalUser(follower)) {
this.userEntityService.pack(followee, follower, {
detail: true,
}).then(async packed => {
- this.globalEventServie.publishUserEvent(follower.id, 'unfollow', packed);
- this.globalEventServie.publishMainStream(follower.id, 'unfollow', packed);
+ this.globalEventService.publishUserEvent(follower.id, 'unfollow', packed);
+ this.globalEventService.publishMainStream(follower.id, 'unfollow', packed);
const webhooks = (await this.webhookService.getActiveWebhooks()).filter(x => x.userId === follower.id && x.on.includes('unfollow'));
for (const webhook of webhooks) {
@@ -152,8 +152,8 @@ export class UserBlockingService {
this.userEntityService.pack(followee, follower, {
detail: true,
}).then(async packed => {
- this.globalEventServie.publishUserEvent(follower.id, 'unfollow', packed);
- this.globalEventServie.publishMainStream(follower.id, 'unfollow', packed);
+ this.globalEventService.publishUserEvent(follower.id, 'unfollow', packed);
+ this.globalEventService.publishMainStream(follower.id, 'unfollow', packed);
const webhooks = (await this.webhookService.getActiveWebhooks()).filter(x => x.userId === follower.id && x.on.includes('unfollow'));
for (const webhook of webhooks) {