From 5202c4b0a5d05c341b8f1f86099ddff60565cbaa Mon Sep 17 00:00:00 2001 From: Flavien David Date: Fri, 5 Apr 2024 13:06:14 +0200 Subject: [PATCH] Use last 6 digits of external ID --- types/src/shared/utils/structured_data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/src/shared/utils/structured_data.ts b/types/src/shared/utils/structured_data.ts index e70a49e23dbc..293ef92ba855 100644 --- a/types/src/shared/utils/structured_data.ts +++ b/types/src/shared/utils/structured_data.ts @@ -3,7 +3,7 @@ import { slugify } from "./string_utils"; export function makeStructuredDataTableName(name: string, externalId: string) { const lowercasedExternalId = externalId.toLowerCase(); const externalIdPrefix = lowercasedExternalId.substring(0, 4); - const externalIdSuffix = lowercasedExternalId.slice(-4); + const externalIdSuffix = lowercasedExternalId.slice(-6); const truncatedName = name.substring(0, 32);