Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/cms/src/api/video-coverage/services/video-coverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export async function queryVideoCoverage(
SELECT
v.document_id AS vid,
l.core_id AS lang_core_id,
BOOL_OR(NOT COALESCE(s.ai_generated, true)) AS has_human
BOOL_OR(NOT COALESCE(s.ai_generated, false)) AS has_human
FROM video_subtitles s
JOIN video_subtitles_video_lnk svl ON svl.video_subtitle_id = s.id
JOIN video_subtitles_language_lnk sll ON sll.video_subtitle_id = s.id
Expand All @@ -97,7 +97,7 @@ export async function queryVideoCoverage(
SELECT
v.document_id AS vid,
l.core_id AS lang_core_id,
BOOL_OR(NOT COALESCE(vr.ai_generated, true)) AS has_human
BOOL_OR(NOT COALESCE(vr.ai_generated, false)) AS has_human
FROM video_variants vr
JOIN video_variants_video_lnk vvl ON vvl.video_variant_id = vr.id
JOIN video_variants_language_lnk vll ON vll.video_variant_id = vr.id
Expand Down
3 changes: 2 additions & 1 deletion apps/manager/src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { redirect } from "next/navigation"

export default function DashboardPage() {
redirect("/dashboard/coverage")
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- typed routes doesn't resolve /dashboard/coverage
redirect("/dashboard/coverage" as any)
}
Loading