From f0ab2aed3d98240c53e952ada2d2a1d18a5ba23f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Oct 2021 14:14:57 +0200 Subject: Fix lint --- server/lib/job-queue/handlers/activitypub-follow.ts | 2 +- server/models/actor/actor-follow.ts | 1 - shared/models/server/server-config.model.ts | 2 +- 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' import { sequelizeTypescript } from '../../../initializers/database' import { ActorModel } from '../../../models/actor/actor' import { ActorFollowModel } from '../../../models/actor/actor-follow' -import { MActor, MActorFollowActors, MActorFull } from '../../../types/models' +import { MActor, MActorFull } from '../../../types/models' import { getOrCreateAPActor, loadActorUrlOrGetFromWebfinger } from '../../activitypub/actors' import { sendFollow } from '../../activitypub/send' 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 { } from 'sequelize-typescript' import { isActivityPubUrlValid } from '@server/helpers/custom-validators/activitypub/misc' import { afterCommitIfTransaction } from '@server/helpers/database-utils' -import { CONFIG } from '@server/initializers/config' import { getServerActor } from '@server/models/application/application' import { 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 { allowed: boolean } } - }, + } instance: { name: string -- cgit v1.2.3