aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-07-26 10:49:32 +0200
committerChocobozzz <me@florianbigard.com>2023-07-26 10:49:32 +0200
commit17522af1e0db568293f5d6b9d36a71d39d8de60a (patch)
treeea8b9582d9c41a990cdcba3ced5c0e7621c0a4cf /server/lib
parent69e3f2049f01a9aa78b81889ac040a10f925e590 (diff)
downloadPeerTube-17522af1e0db568293f5d6b9d36a71d39d8de60a.tar.gz
PeerTube-17522af1e0db568293f5d6b9d36a71d39d8de60a.tar.zst
PeerTube-17522af1e0db568293f5d6b9d36a71d39d8de60a.zip
Use typed pick
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts2
-rw-r--r--server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts b/server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts
index 905007db9..137a94535 100644
--- a/server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts
+++ b/server/lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts
@@ -1,8 +1,8 @@
1import { pick } from 'lodash'
2import { logger } from '@server/helpers/logger' 1import { logger } from '@server/helpers/logger'
3import { VideoJobInfoModel } from '@server/models/video/video-job-info' 2import { VideoJobInfoModel } from '@server/models/video/video-job-info'
4import { MVideo } from '@server/types/models' 3import { MVideo } from '@server/types/models'
5import { MRunnerJob } from '@server/types/models/runners' 4import { MRunnerJob } from '@server/types/models/runners'
5import { pick } from '@shared/core-utils'
6import { buildUUID } from '@shared/extra-utils' 6import { buildUUID } from '@shared/extra-utils'
7import { getVideoStreamDuration } from '@shared/ffmpeg' 7import { getVideoStreamDuration } from '@shared/ffmpeg'
8import { 8import {
diff --git a/server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts b/server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts
index 663d3306e..9ee8ab88e 100644
--- a/server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts
+++ b/server/lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts
@@ -1,8 +1,8 @@
1import { pick } from 'lodash'
2import { logger } from '@server/helpers/logger' 1import { logger } from '@server/helpers/logger'
3import { VideoJobInfoModel } from '@server/models/video/video-job-info' 2import { VideoJobInfoModel } from '@server/models/video/video-job-info'
4import { MVideo } from '@server/types/models' 3import { MVideo } from '@server/types/models'
5import { MRunnerJob } from '@server/types/models/runners' 4import { MRunnerJob } from '@server/types/models/runners'
5import { pick } from '@shared/core-utils'
6import { buildUUID } from '@shared/extra-utils' 6import { buildUUID } from '@shared/extra-utils'
7import { 7import {
8 RunnerJobUpdatePayload, 8 RunnerJobUpdatePayload,