]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/friends.ts
Formated -> Formatted
[github/Chocobozzz/PeerTube.git] / server / lib / friends.ts
index bd3ff97a590ac5b33987145216248bc7f3c60b01..3f0ce3f33f602955ed9db15b7466052b35e6fba6 100644 (file)
@@ -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<FormatedPod> >((res, rej) => {
+  return new Promise< ResultList<FormattedPod> >((res, rej) => {
     const path = '/api/' + API_VERSION + '/pods'
 
     request.get(REMOTE_SCHEME.HTTP + '://' + host + path, (err, response, body) => {