]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/error.ts
Add ability to search by URL with query params
[github/Chocobozzz/PeerTube.git] / server / middlewares / error.ts
index e3eb1c8f54b8bc94d5943e692d9f9cfb503f980d..6c52ce7bd98f7fa98e7d551e07249991d6248002 100644 (file)
@@ -1,6 +1,6 @@
-import * as express from 'express'
+import express from 'express'
 import { ProblemDocument, ProblemDocumentExtension } from 'http-problem-details'
-import { HttpStatusCode } from '@shared/core-utils'
+import { HttpStatusCode } from '@shared/models'
 
 function apiFailMiddleware (req: express.Request, res: express.Response, next: express.NextFunction) {
   res.fail = options => {