From 17522af1e0db568293f5d6b9d36a71d39d8de60a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Jul 2023 10:49:32 +0200 Subject: Use typed pick --- .../lib/runners/job-handlers/vod-audio-merge-transcoding-job-handler.ts | 2 +- .../lib/runners/job-handlers/vod-web-video-transcoding-job-handler.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib') 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 @@ -import { pick } from 'lodash' import { logger } from '@server/helpers/logger' import { VideoJobInfoModel } from '@server/models/video/video-job-info' import { MVideo } from '@server/types/models' import { MRunnerJob } from '@server/types/models/runners' +import { pick } from '@shared/core-utils' import { buildUUID } from '@shared/extra-utils' import { getVideoStreamDuration } from '@shared/ffmpeg' import { 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 @@ -import { pick } from 'lodash' import { logger } from '@server/helpers/logger' import { VideoJobInfoModel } from '@server/models/video/video-job-info' import { MVideo } from '@server/types/models' import { MRunnerJob } from '@server/types/models/runners' +import { pick } from '@shared/core-utils' import { buildUUID } from '@shared/extra-utils' import { RunnerJobUpdatePayload, -- cgit v1.2.3