-import { MActorFollowActors } from '../../typings/models'
+import { MActorFollowActors } from '../../types/models'
import { CONFIG } from '../../initializers/config'
import { SERVER_ACTOR_NAME } from '../../initializers/constants'
import { JobQueue } from '../job-queue'
import { logger } from '../../helpers/logger'
-import { getServerActor } from '../../helpers/utils'
import { ServerModel } from '../../models/server/server'
+import { getServerActor } from '@server/models/application/application'
async function autoFollowBackIfNeeded (actorFollow: MActorFollowActors) {
if (!CONFIG.FOLLOWINGS.INSTANCE.AUTO_FOLLOW_BACK.ENABLED) return