aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-14 14:14:57 +0200
committerChocobozzz <me@florianbigard.com>2021-10-14 14:14:57 +0200
commitf0ab2aed3d98240c53e952ada2d2a1d18a5ba23f (patch)
tree2adee9c47c6cd6b9d9969c8dbb9f55ff365d171f /server
parentafb7d2d5c6ca09d2c678781ae4dd3f527604c1b4 (diff)
downloadPeerTube-f0ab2aed3d98240c53e952ada2d2a1d18a5ba23f.tar.gz
PeerTube-f0ab2aed3d98240c53e952ada2d2a1d18a5ba23f.tar.zst
PeerTube-f0ab2aed3d98240c53e952ada2d2a1d18a5ba23f.zip
Fix lint
Diffstat (limited to 'server')
-rw-r--r--server/lib/job-queue/handlers/activitypub-follow.ts2
-rw-r--r--server/models/actor/actor-follow.ts1
2 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/job-queue/handlers/activitypub-follow.ts b/server/lib/job-queue/handlers/activitypub-follow.ts
index 55a15930a..2ee98171c 100644
--- a/server/lib/job-queue/handlers/activitypub-follow.ts
+++ b/server/lib/job-queue/handlers/activitypub-follow.ts
@@ -8,7 +8,7 @@ import { REMOTE_SCHEME, WEBSERVER } from '../../../initializers/constants'
8import { sequelizeTypescript } from '../../../initializers/database' 8import { sequelizeTypescript } from '../../../initializers/database'
9import { ActorModel } from '../../../models/actor/actor' 9import { ActorModel } from '../../../models/actor/actor'
10import { ActorFollowModel } from '../../../models/actor/actor-follow' 10import { ActorFollowModel } from '../../../models/actor/actor-follow'
11import { MActor, MActorFollowActors, MActorFull } from '../../../types/models' 11import { MActor, MActorFull } from '../../../types/models'
12import { getOrCreateAPActor, loadActorUrlOrGetFromWebfinger } from '../../activitypub/actors' 12import { getOrCreateAPActor, loadActorUrlOrGetFromWebfinger } from '../../activitypub/actors'
13import { sendFollow } from '../../activitypub/send' 13import { sendFollow } from '../../activitypub/send'
14import { Notifier } from '../../notifier' 14import { Notifier } from '../../notifier'
diff --git a/server/models/actor/actor-follow.ts b/server/models/actor/actor-follow.ts
index c522a7c05..fc1cc7499 100644
--- a/server/models/actor/actor-follow.ts
+++ b/server/models/actor/actor-follow.ts
@@ -20,7 +20,6 @@ import {
20} from 'sequelize-typescript' 20} from 'sequelize-typescript'
21import { isActivityPubUrlValid } from '@server/helpers/custom-validators/activitypub/misc' 21import { isActivityPubUrlValid } from '@server/helpers/custom-validators/activitypub/misc'
22import { afterCommitIfTransaction } from '@server/helpers/database-utils' 22import { afterCommitIfTransaction } from '@server/helpers/database-utils'
23import { CONFIG } from '@server/initializers/config'
24import { getServerActor } from '@server/models/application/application' 23import { getServerActor } from '@server/models/application/application'
25import { 24import {
26 MActor, 25 MActor,