From dd788d33e7eeb7e222c6fe294ab8ae3a1b3c68b2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 2 Aug 2026 07:08:22 +0000 Subject: [PATCH] fix(cas): select updatedAt in leadership CAS preflight MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LeadershipSelect does not allow `id` — restore the typecheck-clean select. --- src/app/(campaign)/campanha/actions/leadership.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(campaign)/campanha/actions/leadership.ts b/src/app/(campaign)/campanha/actions/leadership.ts index 97dcbe8f..93746b0a 100644 --- a/src/app/(campaign)/campanha/actions/leadership.ts +++ b/src/app/(campaign)/campanha/actions/leadership.ts @@ -207,7 +207,7 @@ export const updateLeadershipInternalRecord = async ( collection: 'leadership', id, depth: 0, - select: { id: true }, + select: { updatedAt: true }, user: currentActor, overrideAccess: false, req,