From 88fbe6c51d3513573764bffb222a302411ca98b0 Mon Sep 17 00:00:00 2001 From: BOHEUS <56270748+BOHEUS@users.noreply.github.com> Date: Tue, 25 Nov 2025 13:28:37 +0000 Subject: [PATCH] Updated by leftover nitpick (#16040) Nitpicks from #15937 --- .../updated-by/serverlessFunctions/updated/src/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/twenty-apps/community/updated-by/serverlessFunctions/updated/src/index.ts b/packages/twenty-apps/community/updated-by/serverlessFunctions/updated/src/index.ts index d6ee226e02..6fbb24a903 100644 --- a/packages/twenty-apps/community/updated-by/serverlessFunctions/updated/src/index.ts +++ b/packages/twenty-apps/community/updated-by/serverlessFunctions/updated/src/index.ts @@ -50,7 +50,7 @@ const returnWorkspaceMemberObjectId = async (): Promise => { ).id; }; -const createUpdatedByField = async ( +const createUpdatedByFieldMetadata = async ( sourceObjectId: string, workspaceMemberObjectId: string, objectName: string, @@ -124,7 +124,7 @@ const createUpdatedByField = async ( } }; -const updateUpdatedByField = async ( +const updateUpdatedByFieldValue = async ( objectName: string, workspaceMemberId: string, recordId: string, @@ -184,7 +184,7 @@ export const main = async (params: { const workspaceMemberObjectId: string = await returnWorkspaceMemberObjectId(); - const isFieldCreated: boolean | undefined = await createUpdatedByField( + const isFieldCreated: boolean | undefined = await createUpdatedByFieldMetadata( objectMetadata.id, workspaceMemberObjectId, objectMetadata.namePlural, @@ -198,7 +198,7 @@ export const main = async (params: { } } - const isObjectUpdated: boolean | undefined = await updateUpdatedByField( + const isObjectUpdated: boolean | undefined = await updateUpdatedByFieldValue( objectMetadata.namePlural, workspaceMemberId, recordId,