aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/follows.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-17 15:20:42 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit9a27cdc27c900feaae5f6db4315c4ccdfc0c4493 (patch)
treef91fcfa0fa1a2e45aae1c5333ef2f7ec60e56ef0 /server/tests/utils/follows.ts
parent975e6e0e44e2f2b25f804cd48a62e2a8d9e8117a (diff)
downloadPeerTube-9a27cdc27c900feaae5f6db4315c4ccdfc0c4493.tar.gz
PeerTube-9a27cdc27c900feaae5f6db4315c4ccdfc0c4493.tar.zst
PeerTube-9a27cdc27c900feaae5f6db4315c4ccdfc0c4493.zip
Optimize signature verification
Diffstat (limited to 'server/tests/utils/follows.ts')
-rw-r--r--server/tests/utils/follows.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/follows.ts b/server/tests/utils/follows.ts
index b454fe2f8..cffc1648f 100644
--- a/server/tests/utils/follows.ts
+++ b/server/tests/utils/follows.ts
@@ -29,7 +29,7 @@ function getFollowingListPaginationAndSort (url: string, start: number, count: n
29} 29}
30 30
31async function follow (follower: string, following: string[], accessToken: string, expectedStatus = 204) { 31async function follow (follower: string, following: string[], accessToken: string, expectedStatus = 204) {
32 const path = '/api/v1/server/follow' 32 const path = '/api/v1/server/following'
33 33
34 const followingHosts = following.map(f => f.replace(/^http:\/\//, '')) 34 const followingHosts = following.map(f => f.replace(/^http:\/\//, ''))
35 const res = await request(follower) 35 const res = await request(follower)