]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/videos/watching.ts
Process video torrents in order
[github/Chocobozzz/PeerTube.git] / server / controllers / api / videos / watching.ts
index 8b15525aa5d20ab71ceb04dcaea5bfadaca9bc7c..3fd22caac5b34a5b7dd32fcf233e1ae90238d3fd 100644 (file)
@@ -1,5 +1,5 @@
-import * as express from 'express'
-import { UserWatchingVideo } from '../../../../shared'
+import express from 'express'
+import { HttpStatusCode, UserWatchingVideo } from '@shared/models'
 import {
   asyncMiddleware,
   asyncRetryTransactionMiddleware,
@@ -8,7 +8,6 @@ import {
   videoWatchingValidator
 } from '../../../middlewares'
 import { UserVideoHistoryModel } from '../../../models/user/user-video-history'
-import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
 
 const watchingRouter = express.Router()