From 8dc8a34ee8428e7657414115d1c137592efa174d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 23 Apr 2020 09:32:53 +0200 Subject: Avoir some circular dependencies --- server/models/activitypub/actor-follow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models/activitypub') diff --git a/server/models/activitypub/actor-follow.ts b/server/models/activitypub/actor-follow.ts index 5a8e450a5..85a371026 100644 --- a/server/models/activitypub/actor-follow.ts +++ b/server/models/activitypub/actor-follow.ts @@ -20,7 +20,6 @@ import { import { FollowState } from '../../../shared/models/actors' import { ActorFollow } from '../../../shared/models/actors/follow.model' import { logger } from '../../helpers/logger' -import { getServerActor } from '../../helpers/utils' import { ACTOR_FOLLOW_SCORE, FOLLOW_STATES, SERVER_ACTOR_NAME } from '../../initializers/constants' import { ServerModel } from '../server/server' import { createSafeIn, getFollowsSort, getSort } from '../utils' @@ -37,6 +36,7 @@ import { } from '@server/typings/models' import { ActivityPubActorType } from '@shared/models' import { VideoModel } from '@server/models/video/video' +import { getServerActor } from '@server/models/application/application' @Table({ tableName: 'actorFollow', -- cgit v1.2.3