Remove activitypub helper

Put functions in lib/activitypub instead
This commit is contained in:
Chocobozzz
2022-03-23 14:24:50 +01:00
parent 5302f77d09
commit 7e98a7df7d
31 changed files with 155 additions and 136 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { NextFunction, Request, Response } from 'express'
import { getAPId } from '@server/helpers/activitypub'
import { isActorDeleteActivityValid } from '@server/helpers/custom-validators/activitypub/actor'
import { getAPId } from '@server/lib/activitypub/activity'
import { ActivityDelete, ActivityPubSignature, HttpStatusCode } from '@shared/models'
import { logger } from '../helpers/logger'
import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../helpers/peertube-crypto'