X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Fapi%2Fpods.ts;h=e1fa4b7e8b1d67c597b1f69bf3bb144ba694d102;hb=8094a8980265a0a28e508dbd7cf7c7029e6d98b6;hp=916b131d9ac568513d72a7f1fe4a73ed04aad252;hpb=d5f5a670fcf6258d0facf9a2fd3aabd550fbc78f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/api/pods.ts b/server/controllers/api/pods.ts index 916b131d9..e1fa4b7e8 100644 --- a/server/controllers/api/pods.ts +++ b/server/controllers/api/pods.ts @@ -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(podsList, podsList.length))) + .then(podsList => res.json(getFormattedObjects(podsList, podsList.length))) .catch(err => next(err)) }