👔 feat: add bulk thumbnail update logic
Some checks failed
Integration Tests / integration-tests (pull_request) Failing after 42s

This commit is contained in:
2026-02-22 10:55:02 +07:00
parent 2a3467a737
commit 21a06f3b9e
4 changed files with 47 additions and 13 deletions

View File

@ -8,6 +8,9 @@ export const getAllVideoServiceWithEpisodeRepository = async (
return await videoServiceModel.findMany({
where: {
id: videoServiceId,
endpointThumbnail: {
not: null,
},
videos: {
some: {
episode: {
@ -21,6 +24,7 @@ export const getAllVideoServiceWithEpisodeRepository = async (
videos: {
select: {
thumbnailCode: true,
videoCode: true,
episode: {
select: {
id: true,