From 1f72b1c6417d1119aca66665ec59224920dfc06b Mon Sep 17 00:00:00 2001 From: Mateusz Dziurdziak <8903656+mateusz-dziurdziak@users.noreply.github.com> Date: Sat, 2 Dec 2023 23:18:36 +0100 Subject: [PATCH] Add missing import --- build_scripts/loadNewMovies.ts | 1 - build_scripts/nodeActions/loadMissingData.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build_scripts/loadNewMovies.ts b/build_scripts/loadNewMovies.ts index 9d5e064f0..ca1d1b206 100644 --- a/build_scripts/loadNewMovies.ts +++ b/build_scripts/loadNewMovies.ts @@ -1,6 +1,5 @@ import {google} from "googleapis"; import {database, NAMESPACE_VIDEO_CONTENT_DETAILS, NAMESPACE_VIDEO_SNIPPET} from "./db.js"; -import _ from "lodash"; async function downloadContentDetails(youtube: any, ids: string[]) { const videoData = await youtube.videos.list({ diff --git a/build_scripts/nodeActions/loadMissingData.ts b/build_scripts/nodeActions/loadMissingData.ts index 1a23b7ceb..53b348d7f 100644 --- a/build_scripts/nodeActions/loadMissingData.ts +++ b/build_scripts/nodeActions/loadMissingData.ts @@ -10,6 +10,7 @@ import {chesstempoService} from "../chesstempo/ChesstempoService.js"; import {chess365Service} from "../chess365/Chess365Service.js"; import {lichessMastersService} from "../lichessMasters/LichessMastersService.js"; import {lichessService} from "../lichess/LichessService.js"; +import _ from "lodash"; async function loadMissingChessComInfo() { let videosWithMissingInfo = database.getAllIds()