aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos/abuse.ts
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/controllers/api/videos/abuse.ts
parent93e1258c7cbc0d1235ca6d2a1f7c1875985328b8 (diff)
downloadPeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.gz
PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.zst
PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.zip
Formated -> Formatted
Diffstat (limited to 'server/controllers/api/videos/abuse.ts')
-rw-r--r--server/controllers/api/videos/abuse.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/videos/abuse.ts b/server/controllers/api/videos/abuse.ts
index 5cf0303fb..c9313d5f5 100644
--- a/server/controllers/api/videos/abuse.ts
+++ b/server/controllers/api/videos/abuse.ts
@@ -4,7 +4,7 @@ import { database as db } from '../../../initializers/database'
4import * as friends from '../../../lib/friends' 4import * as friends from '../../../lib/friends'
5import { 5import {
6 logger, 6 logger,
7 getFormatedObjects, 7 getFormattedObjects,
8 retryTransactionWrapper 8 retryTransactionWrapper
9} from '../../../helpers' 9} from '../../../helpers'
10import { 10import {
@@ -46,7 +46,7 @@ export {
46 46
47function listVideoAbuses (req: express.Request, res: express.Response, next: express.NextFunction) { 47function listVideoAbuses (req: express.Request, res: express.Response, next: express.NextFunction) {
48 db.VideoAbuse.listForApi(req.query.start, req.query.count, req.query.sort) 48 db.VideoAbuse.listForApi(req.query.start, req.query.count, req.query.sort)
49 .then(result => res.json(getFormatedObjects(result.data, result.total))) 49 .then(result => res.json(getFormattedObjects(result.data, result.total)))
50 .catch(err => next(err)) 50 .catch(err => next(err))
51} 51}
52 52