diff --git a/server/core/lib/activitypub/process/process-update.ts b/server/core/lib/activitypub/process/process-update.ts index e96d43b70..fe75b5db0 100644 --- a/server/core/lib/activitypub/process/process-update.ts +++ b/server/core/lib/activitypub/process/process-update.ts @@ -7,7 +7,7 @@ import { PlaylistObject, VideoObject } from '@peertube/peertube-models' -import { isAccountActor } from '@server/helpers/actors.js' +import { isActorTypeValid } from '@server/helpers/custom-validators/activitypub/actor.js' import { isRedundancyAccepted } from '@server/lib/redundancy.js' import { isCacheFileObjectValid } from '../../../helpers/custom-validators/activitypub/cache-file.js' import { sanitizeAndCheckVideoTorrentObject } from '../../../helpers/custom-validators/activitypub/videos.js' @@ -34,7 +34,7 @@ async function processUpdateActivity (options: APProcessorOptions