diff options
Diffstat (limited to 'server/models/activitypub')
-rw-r--r-- | server/models/activitypub/actor-follow.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/activitypub/actor-follow.ts b/server/models/activitypub/actor-follow.ts index d3c438626..c97f4cead 100644 --- a/server/models/activitypub/actor-follow.ts +++ b/server/models/activitypub/actor-follow.ts | |||
@@ -118,12 +118,12 @@ export class ActorFollowModel extends Model<ActorFollowModel> { | |||
118 | 118 | ||
119 | if (goodInboxes.length !== 0) { | 119 | if (goodInboxes.length !== 0) { |
120 | ActorFollowModel.incrementScores(goodInboxes, ACTOR_FOLLOW_SCORE.BONUS, t) | 120 | ActorFollowModel.incrementScores(goodInboxes, ACTOR_FOLLOW_SCORE.BONUS, t) |
121 | .catch(err => logger.error('Cannot increment scores of good actor follows.', err)) | 121 | .catch(err => logger.error('Cannot increment scores of good actor follows.', { err })) |
122 | } | 122 | } |
123 | 123 | ||
124 | if (badInboxes.length !== 0) { | 124 | if (badInboxes.length !== 0) { |
125 | ActorFollowModel.incrementScores(badInboxes, ACTOR_FOLLOW_SCORE.PENALTY, t) | 125 | ActorFollowModel.incrementScores(badInboxes, ACTOR_FOLLOW_SCORE.PENALTY, t) |
126 | .catch(err => logger.error('Cannot decrement scores of bad actor follows.', err)) | 126 | .catch(err => logger.error('Cannot decrement scores of bad actor follows.', { err })) |
127 | } | 127 | } |
128 | } | 128 | } |
129 | 129 | ||