mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-03-17 06:59:15 -04:00
Fix /api/videos/:id?with=show with multi-entry videos
This commit is contained in:
parent
976f6104da
commit
926fbcfd9c
@ -207,6 +207,7 @@ const videoRelations = {
|
||||
.where(eq(videos.pk, entryVideoJoin.videoPk)),
|
||||
),
|
||||
)
|
||||
.limit(1)
|
||||
.as("show");
|
||||
},
|
||||
previous: ({ languages }: { languages: string[] }) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user