import { ACTIVITY_PUB, CRAWL_REQUEST_CONCURRENCY } from '../../initializers/constants'
import { VideoCommentModel } from '../../models/video/video-comment'
import { MCommentOwner, MCommentOwnerVideo, MVideoAccountLightBlacklistAllFiles } from '../../types/models/video'
-import { getOrCreateActorAndServerAndModel } from './actor'
+import { getOrCreateAPActor } from './actors'
import { getOrCreateAPVideo } from './videos'
type ResolveThreadParams = {
}
const actor = actorUrl
- ? await getOrCreateActorAndServerAndModel(actorUrl, 'all')
+ ? await getOrCreateAPActor(actorUrl, 'all')
: null
const comment = new VideoCommentModel({