[object Object]

← back to Nineoh Guide

auto-save: 2026-07-27T12:50:40 (1 files) — apps/web/app/api/cast/route.ts

7786419ba18bb69e784a4382443645be8e98d177 · 2026-07-27 12:50:49 -0700 · Steve Abrams

Files touched

Diff

commit 7786419ba18bb69e784a4382443645be8e98d177
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jul 27 12:50:49 2026 -0700

    auto-save: 2026-07-27T12:50:40 (1 files) — apps/web/app/api/cast/route.ts
---
 apps/web/app/api/cast/route.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/web/app/api/cast/route.ts b/apps/web/app/api/cast/route.ts
index b041ebc..8a7ffce 100644
--- a/apps/web/app/api/cast/route.ts
+++ b/apps/web/app/api/cast/route.ts
@@ -34,7 +34,7 @@ export async function GET() {
         attribution: r.attribution_text ?? null,
         licenseType: r.license_type ?? null,
         licenseUrl: r.license_url ?? null,
-        kind: (r.kind as string) ?? "recurring",
+        kind: (r.kind ?? "recurring") as string,
         billingOrder: r.billing_order as number | null,
       }))
       // main cast first, then recurring by episode count (billing_order = -eps)

← e26dca5 feat: per-episode cast on every episode + recurring/guest st  ·  back to Nineoh Guide  ·  chore: lint pass, cast-route null-coalesce fix, seed DB guar 97a30ae →