aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-17 15:52:26 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit79d5caf994edd87ad721994490f10677be277497 (patch)
tree0db45893d8b78e34ce3d59849d0a331977a63d4b /server/controllers
parent572f8d3dba44ba874f5c51023214273e3f5b643c (diff)
downloadPeerTube-79d5caf994edd87ad721994490f10677be277497.tar.gz
PeerTube-79d5caf994edd87ad721994490f10677be277497.tar.zst
PeerTube-79d5caf994edd87ad721994490f10677be277497.zip
Fix lint
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/activitypub/inbox.ts3
-rw-r--r--server/controllers/webfinger.ts4
2 files changed, 1 insertions, 6 deletions
diff --git a/server/controllers/activitypub/inbox.ts b/server/controllers/activitypub/inbox.ts
index 5f47648df..fd3695886 100644
--- a/server/controllers/activitypub/inbox.ts
+++ b/server/controllers/activitypub/inbox.ts
@@ -2,7 +2,7 @@ import * as express from 'express'
2import { Activity, ActivityPubCollection, ActivityPubOrderedCollection, ActivityType, RootActivity } from '../../../shared' 2import { Activity, ActivityPubCollection, ActivityPubOrderedCollection, ActivityType, RootActivity } from '../../../shared'
3import { logger } from '../../helpers' 3import { logger } from '../../helpers'
4import { isActivityValid } from '../../helpers/custom-validators/activitypub/activity' 4import { isActivityValid } from '../../helpers/custom-validators/activitypub/activity'
5import { processCreateActivity, processFlagActivity, processUpdateActivity } from '../../lib' 5import { processCreateActivity, processUpdateActivity } from '../../lib'
6import { processAcceptActivity } from '../../lib/activitypub/process-accept' 6import { processAcceptActivity } from '../../lib/activitypub/process-accept'
7import { processAddActivity } from '../../lib/activitypub/process-add' 7import { processAddActivity } from '../../lib/activitypub/process-add'
8import { processAnnounceActivity } from '../../lib/activitypub/process-announce' 8import { processAnnounceActivity } from '../../lib/activitypub/process-announce'
@@ -16,7 +16,6 @@ const processActivity: { [ P in ActivityType ]: (activity: Activity, inboxAccoun
16 Create: processCreateActivity, 16 Create: processCreateActivity,
17 Add: processAddActivity, 17 Add: processAddActivity,
18 Update: processUpdateActivity, 18 Update: processUpdateActivity,
19 Flag: processFlagActivity,
20 Delete: processDeleteActivity, 19 Delete: processDeleteActivity,
21 Follow: processFollowActivity, 20 Follow: processFollowActivity,
22 Accept: processAcceptActivity, 21 Accept: processAcceptActivity,
diff --git a/server/controllers/webfinger.ts b/server/controllers/webfinger.ts
index 102ac0937..cc28a8909 100644
--- a/server/controllers/webfinger.ts
+++ b/server/controllers/webfinger.ts
@@ -1,8 +1,4 @@
1import * as express from 'express' 1import * as express from 'express'
2
3import { CONFIG, PREVIEWS_SIZE, EMBED_SIZE } from '../initializers'
4import { oembedValidator } from '../middlewares'
5import { VideoInstance } from '../models'
6import { webfingerValidator } from '../middlewares/validators/webfinger' 2import { webfingerValidator } from '../middlewares/validators/webfinger'
7import { AccountInstance } from '../models/account/account-interface' 3import { AccountInstance } from '../models/account/account-interface'
8 4