mirror of
https://github.com/nicetry247/offlineacademy.git
synced 2026-07-26 11:58:44 +00:00
fix: order lesson subtitles in API response
This commit is contained in:
@@ -18,6 +18,9 @@ export async function GET(
|
|||||||
progress: {
|
progress: {
|
||||||
where: { userId: 'local-user' },
|
where: { userId: 'local-user' },
|
||||||
},
|
},
|
||||||
|
subtitles: {
|
||||||
|
orderBy: { lang: 'asc' },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user