Skip to content

Node.js based forum software built for the modern web

fix: typo, cc @panosda

Julian Lam9d052d6322e5
diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.js
index cc42b7f3a1..61a3dd16ea 100644
--- a/src/activitypub/inbox.js
+++ b/src/activitypub/inbox.js
@@ -384,7 +384,7 @@ inbox.dislike = async (req) => {
const allowed = await privileges.posts.can('posts:downvote', id, activitypub._constants.uid);
if (!allowed) {
- activitypub.helpers.log(`[activitypub/inbox.like] ${id} not allowed to be downvoted.`);
+ activitypub.helpers.log(`[activitypub/inbox.dislike] ${id} not allowed to be downvoted.`);
throw new Error('[[error:no-privileges]]');
}