1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Formated -> Formatted

This commit is contained in:
Chocobozzz 2017-08-25 11:45:31 +02:00
parent 93e1258c7c
commit 0aef76c479
17 changed files with 63 additions and 63 deletions

View file

@ -5,7 +5,7 @@ import { CONFIG } from '../../initializers'
import {
logger,
getMyPublicCert,
getFormatedObjects
getFormattedObjects
} from '../../helpers'
import {
sendOwnedVideosToPod,
@ -25,7 +25,7 @@ import {
import {
PodInstance
} from '../../models'
import { Pod as FormatedPod } from '../../../shared'
import { Pod as FormattedPod } from '../../../shared'
const podsRouter = express.Router()
@ -81,7 +81,7 @@ function addPods (req: express.Request, res: express.Response, next: express.Nex
function listPods (req: express.Request, res: express.Response, next: express.NextFunction) {
db.Pod.list()
.then(podsList => res.json(getFormatedObjects<FormatedPod, PodInstance>(podsList, podsList.length)))
.then(podsList => res.json(getFormattedObjects<FormattedPod, PodInstance>(podsList, podsList.length)))
.catch(err => next(err))
}