Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(fableloom): remove duplicate isSafeVideoHistoryId declaration (#5382)

[._.]/ Adam Eivy2cc4ade6e492
diff --git a/server/services/fableLoom/records.js b/server/services/fableLoom/records.js
index ec7ad362fa..701beb7b18 100644
--- a/server/services/fableLoom/records.js
+++ b/server/services/fableLoom/records.js
@@ -59,8 +59,6 @@ export { LOOM_LIMITS };
const isSafeImageFilename = (value) =>
typeof value === 'string' && /^[A-Za-z0-9][A-Za-z0-9._-]*\.(png|jpg|jpeg|webp)$/i.test(value);
-const isSafeVideoHistoryId = (value) =>
- typeof value === 'string' && /^[A-Za-z0-9][A-Za-z0-9._-]{0,199}$/.test(value);
const nullableRef = (value) => (isStr(value) && value.trim() ? value.trim().slice(0, LOOM_LIMITS.REF_ID_MAX) : null);