Minor changes

- Updated frontend credit type
- Updated sorting of entry credits in `getEntryById()`
This commit is contained in:
X4Lo committed 2026-04-23 22:23:10 +01:00
1 parent 6aa57cbe71
commit e9bc8886d4
3 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ class EntryService {
{
model: Cast, as: 'credits',
where: { cast_type: 'cast' },
order: [['order', 'ASC']],
order: [['episode_count', 'DESC']],
limit: 10,
include: [{ model: People, as: 'person' }]
},