fix(cas): select updatedAt in leadership CAS preflight

LeadershipSelect does not allow `id` — restore the typecheck-clean select.
This commit is contained in:
Cursor Agent 2026-08-02 07:08:22 +00:00
parent af01817f57
commit dd788d33e7
No known key found for this signature in database

View file

@ -207,7 +207,7 @@ export const updateLeadershipInternalRecord = async (
collection: 'leadership', collection: 'leadership',
id, id,
depth: 0, depth: 0,
select: { id: true }, select: { updatedAt: true },
user: currentActor, user: currentActor,
overrideAccess: false, overrideAccess: false,
req, req,