X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Fvideos%2Fshared%2Ftrackers.ts;h=2418f45c2d12e3e329b9b472abc13cf561405ec3;hb=7e98a7df7d04e19ba67163a86c7b876d78d76839;hp=1c5fc4f84dc9730ce2f5cf8a3a4ea38cc9a7bb12;hpb=5302f77d095c2188859ee463128aa59eec20ea88;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/videos/shared/trackers.ts b/server/lib/activitypub/videos/shared/trackers.ts index 1c5fc4f84..2418f45c2 100644 --- a/server/lib/activitypub/videos/shared/trackers.ts +++ b/server/lib/activitypub/videos/shared/trackers.ts @@ -1,11 +1,11 @@ import { Transaction } from 'sequelize/types' -import { buildRemoteVideoBaseUrl } from '@server/helpers/activitypub' import { isAPVideoTrackerUrlObject } from '@server/helpers/custom-validators/activitypub/videos' import { isArray } from '@server/helpers/custom-validators/misc' import { REMOTE_SCHEME } from '@server/initializers/constants' import { TrackerModel } from '@server/models/server/tracker' import { MVideo, MVideoWithHost } from '@server/types/models' import { ActivityTrackerUrlObject, VideoObject } from '@shared/models' +import { buildRemoteVideoBaseUrl } from '../../url' function getTrackerUrls (object: VideoObject, video: MVideoWithHost) { let wsFound = false