Fix /api/videos/:id?with=show with multi-entry videos

This commit is contained in:
Zoe Roux 2026-03-11 23:20:41 +01:00
parent 976f6104da
commit 926fbcfd9c
No known key found for this signature in database

View File

@ -207,6 +207,7 @@ const videoRelations = {
.where(eq(videos.pk, entryVideoJoin.videoPk)),
),
)
.limit(1)
.as("show");
},
previous: ({ languages }: { languages: string[] }) => {