diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-14 14:14:57 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-14 14:14:57 +0200 |
commit | f0ab2aed3d98240c53e952ada2d2a1d18a5ba23f (patch) | |
tree | 2adee9c47c6cd6b9d9969c8dbb9f55ff365d171f /server | |
parent | afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4 (diff) | |
download | PeerTube-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.ts | 2 | ||||
-rw-r--r-- | server/models/actor/actor-follow.ts | 1 |
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' | |||
8 | import { sequelizeTypescript } from '../../../initializers/database' | 8 | import { sequelizeTypescript } from '../../../initializers/database' |
9 | import { ActorModel } from '../../../models/actor/actor' | 9 | import { ActorModel } from '../../../models/actor/actor' |
10 | import { ActorFollowModel } from '../../../models/actor/actor-follow' | 10 | import { ActorFollowModel } from '../../../models/actor/actor-follow' |
11 | import { MActor, MActorFollowActors, MActorFull } from '../../../types/models' | 11 | import { MActor, MActorFull } from '../../../types/models' |
12 | import { getOrCreateAPActor, loadActorUrlOrGetFromWebfinger } from '../../activitypub/actors' | 12 | import { getOrCreateAPActor, loadActorUrlOrGetFromWebfinger } from '../../activitypub/actors' |
13 | import { sendFollow } from '../../activitypub/send' | 13 | import { sendFollow } from '../../activitypub/send' |
14 | import { Notifier } from '../../notifier' | 14 | import { 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' |
21 | import { isActivityPubUrlValid } from '@server/helpers/custom-validators/activitypub/misc' | 21 | import { isActivityPubUrlValid } from '@server/helpers/custom-validators/activitypub/misc' |
22 | import { afterCommitIfTransaction } from '@server/helpers/database-utils' | 22 | import { afterCommitIfTransaction } from '@server/helpers/database-utils' |
23 | import { CONFIG } from '@server/initializers/config' | ||
24 | import { getServerActor } from '@server/models/application/application' | 23 | import { getServerActor } from '@server/models/application/application' |
25 | import { | 24 | import { |
26 | MActor, | 25 | MActor, |