👔 feat: add bulk thumbnail update logic
Some checks failed
Integration Tests / integration-tests (pull_request) Failing after 42s
Some checks failed
Integration Tests / integration-tests (pull_request) Failing after 42s
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user