aboutsummaryrefslogtreecommitdiffhomepage
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
parentafb7d2d5c6ca09d2c678781ae4dd3f527604c1b4 (diff)
downloadPeerTube-f0ab2aed3d98240c53e952ada2d2a1d18a5ba23f.tar.gz
PeerTube-f0ab2aed3d98240c53e952ada2d2a1d18a5ba23f.tar.zst
PeerTube-f0ab2aed3d98240c53e952ada2d2a1d18a5ba23f.zip
Fix lint
-rw-r--r--server/lib/job-queue/handlers/activitypub-follow.ts2
-rw-r--r--server/models/actor/actor-follow.ts1
-rw-r--r--shared/models/server/server-config.model.ts2
3 files changed, 2 insertions, 3 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,
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index 5bbb61252..a0313b8da 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -47,7 +47,7 @@ export interface ServerConfig {
47 allowed: boolean 47 allowed: boolean
48 } 48 }
49 } 49 }
50 }, 50 }
51 51
52 instance: { 52 instance: {
53 name: string 53 name: string