]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/validators/shared/abuses.ts
Refactor video rights checker
[github/Chocobozzz/PeerTube.git] / server / middlewares / validators / shared / abuses.ts
index 4a20a55fae90ab3044334ce7815d90165f5a38e1..2b8d86ba519702141711fdfdeb804785159b26a9 100644 (file)
@@ -1,6 +1,6 @@
 import { Response } from 'express'
 import { AbuseModel } from '@server/models/abuse/abuse'
-import { HttpStatusCode } from '@shared/core-utils'
+import { HttpStatusCode } from '@shared/models'
 
 async function doesAbuseExist (abuseId: number | string, res: Response) {
   const abuse = await AbuseModel.loadByIdWithReporter(parseInt(abuseId + '', 10))