aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-08-25 11:45:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-08-25 11:45:31 +0200
commit0aef76c479bc7fc758e70e1cd478ade46761b51b (patch)
treeed59eae3ee731c56d25cc35a382f4cc400d0dece /server/lib
parent93e1258c7cbc0d1235ca6d2a1f7c1875985328b8 (diff)
downloadPeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.gz
PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.zst
PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.zip
Formated -> Formatted
Diffstat (limited to 'server/lib')
-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) => {