X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Ffriends.ts;fp=server%2Flib%2Ffriends.ts;h=3f0ce3f33f602955ed9db15b7466052b35e6fba6;hb=0aef76c479bc7fc758e70e1cd478ade46761b51b;hp=bd3ff97a590ac5b33987145216248bc7f3c60b01;hpb=93e1258c7cbc0d1235ca6d2a1f7c1875985328b8;p=github%2FChocobozzz%2FPeerTube.git 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 { RemoteVideoRemoveData, RemoteVideoReportAbuseData, ResultList, - Pod as FormatedPod + Pod as FormattedPod } from '../../shared' type QaduParam = { videoId: number, type: RequestVideoQaduType } @@ -332,7 +332,7 @@ function computeWinningPods (hosts: string[], podsScore: { [ host: string ]: num } function getForeignPodsList (host: string) { - return new Promise< ResultList >((res, rej) => { + return new Promise< ResultList >((res, rej) => { const path = '/api/' + API_VERSION + '/pods' request.get(REMOTE_SCHEME.HTTP + '://' + host + path, (err, response, body) => {