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