From e65ef81cf51746616182a822bd6933bf0d16717a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Feb 2023 11:56:58 +0100 Subject: Update server dependencies --- server/lib/activitypub/actors/updater.ts | 2 +- server/lib/stat-manager.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib') diff --git a/server/lib/activitypub/actors/updater.ts b/server/lib/activitypub/actors/updater.ts index 137980460..73bdf1edc 100644 --- a/server/lib/activitypub/actors/updater.ts +++ b/server/lib/activitypub/actors/updater.ts @@ -11,7 +11,7 @@ import { getImagesInfoFromObject } from './shared/object-to-model-attributes' export class APActorUpdater { - private accountOrChannel: MAccount | MChannel + private readonly accountOrChannel: MAccount | MChannel constructor ( private readonly actorObject: ActivityPubActor, diff --git a/server/lib/stat-manager.ts b/server/lib/stat-manager.ts index 03063793d..0516e7f1a 100644 --- a/server/lib/stat-manager.ts +++ b/server/lib/stat-manager.ts @@ -16,7 +16,7 @@ class StatsManager { private readonly instanceStartDate = new Date() - private inboxMessages = { + private readonly inboxMessages = { processed: 0, errors: 0, successes: 0, -- cgit v1.2.3