aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorLukas Winkler <git@lw1.at>2019-09-23 08:17:42 +0200
committerChocobozzz <me@florianbigard.com>2019-09-23 08:17:42 +0200
commit32d7f2b754b8d20bf44ae2121c79570cbff973c3 (patch)
tree81245f0129677639ff89b08321a9e7f84c359656 /server/lib
parent210709a9076ac152dd377234866b8e9b9108382a (diff)
downloadPeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.tar.gz
PeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.tar.zst
PeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.zip
fix a few typos (#2141)
* fix a few typos * apply changes to original files instead * additional correction
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/job-queue/handlers/activitypub-follow.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/job-queue/handlers/activitypub-follow.ts b/server/lib/job-queue/handlers/activitypub-follow.ts
index af7c8a838..4a7cda0a2 100644
--- a/server/lib/job-queue/handlers/activitypub-follow.ts
+++ b/server/lib/job-queue/handlers/activitypub-follow.ts
@@ -48,7 +48,7 @@ export {
48 48
49async function follow (fromActor: MActor, targetActor: MActorFull, isAutoFollow = false) { 49async function follow (fromActor: MActor, targetActor: MActorFull, isAutoFollow = false) {
50 if (fromActor.id === targetActor.id) { 50 if (fromActor.id === targetActor.id) {
51 throw new Error('Follower is the same than target actor.') 51 throw new Error('Follower is the same as target actor.')
52 } 52 }
53 53
54 // Same server, direct accept 54 // Same server, direct accept