aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/friends.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/friends.ts')
-rw-r--r--server/lib/friends.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/friends.ts b/server/lib/friends.ts
index bd3ff97a5..3f0ce3f33 100644
--- a/server/lib/friends.ts
+++ b/server/lib/friends.ts
@@ -42,7 +42,7 @@ import {
42 RemoteVideoRemoveData, 42 RemoteVideoRemoveData,
43 RemoteVideoReportAbuseData, 43 RemoteVideoReportAbuseData,
44 ResultList, 44 ResultList,
45 Pod as FormatedPod 45 Pod as FormattedPod
46} from '../../shared' 46} from '../../shared'
47 47
48type QaduParam = { videoId: number, type: RequestVideoQaduType } 48type QaduParam = { videoId: number, type: RequestVideoQaduType }
@@ -332,7 +332,7 @@ function computeWinningPods (hosts: string[], podsScore: { [ host: string ]: num
332} 332}
333 333
334function getForeignPodsList (host: string) { 334function getForeignPodsList (host: string) {
335 return new Promise< ResultList<FormatedPod> >((res, rej) => { 335 return new Promise< ResultList<FormattedPod> >((res, rej) => {
336 const path = '/api/' + API_VERSION + '/pods' 336 const path = '/api/' + API_VERSION + '/pods'
337 337
338 request.get(REMOTE_SCHEME.HTTP + '://' + host + path, (err, response, body) => { 338 request.get(REMOTE_SCHEME.HTTP + '://' + host + path, (err, response, body) => {