]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/activitypub.ts
Remove uneeded async
[github/Chocobozzz/PeerTube.git] / server / middlewares / activitypub.ts
index 6ef90b2757091a66587d846872a2703357f75319..2a2d86a24ffa56553759e9b5cce6ee945ac90ac2 100644 (file)
@@ -1,8 +1,7 @@
 import { NextFunction, Request, Response } from 'express'
-import { getAPId } from '@server/helpers/activitypub'
 import { isActorDeleteActivityValid } from '@server/helpers/custom-validators/activitypub/actor'
-import { ActivityDelete, ActivityPubSignature } from '../../shared'
-import { HttpStatusCode } from '../../shared/models/http/http-error-codes'
+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'
 import { ACCEPT_HEADERS, ACTIVITY_PUB, HTTP_SIGNATURE } from '../initializers/constants'