From 74d05a13ea558d7393665f9e331cdefc5d64f0ae Mon Sep 17 00:00:00 2001 From: spark Date: Thu, 5 Nov 2026 21:14:17 +0000 Subject: [PATCH] fix(autopilot): type the lineup box so the deploy build passes The row of a team is a box, not a detection. The API build rejected the crop rules on that. --- apps/api/src/composition/compose.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/composition/compose.ts b/apps/api/src/composition/compose.ts index c37c5d7..969992b 100644 --- a/apps/api/src/composition/compose.ts +++ b/apps/api/src/composition/compose.ts @@ -275,7 +275,7 @@ export function findSubject( // of them would delete the others, which is not the photograph. const cast = openCast(people) ?? widePlan(people); if (cast) { - const box = cast.reduce((u, p) => union(u, p), cast[0]!); + const box = cast.reduce((u, p) => union(u, p), cast[0]!); return { box, reason: "group", people: cast }; } // The main subject: the person the camera focused on, when that point lands on someone who is sharp and