From fe1d17ba8d02317201dc4e1ede2e95e00de913a6 Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 12 Oct 2024 23:29:19 +0600 Subject: [PATCH] api/service-patterns: update the tiktok tester --- api/src/processing/service-patterns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/processing/service-patterns.js b/api/src/processing/service-patterns.js index 2105a563..7f8982b5 100644 --- a/api/src/processing/service-patterns.js +++ b/api/src/processing/service-patterns.js @@ -39,7 +39,7 @@ export const testers = { pattern.id?.length === 6, "tiktok": pattern => - pattern.postId?.length <= 21 || pattern.id?.length <= 13, + pattern.postId?.length <= 21 || pattern.shortLink?.length <= 13, "tumblr": pattern => pattern.id?.length < 21