From b22d0efbf1ad781767c124cebb1b869d1f1d6e03 Mon Sep 17 00:00:00 2001 From: KwiatekMiki Date: Sun, 27 Oct 2024 18:34:11 +0100 Subject: [PATCH] api/service-patterns: recognize older streamable links (#862) --- 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 7f8982b5..9a0acd75 100644 --- a/api/src/processing/service-patterns.js +++ b/api/src/processing/service-patterns.js @@ -36,7 +36,7 @@ export const testers = { || pattern.shortLink?.length <= 16, "streamable": pattern => - pattern.id?.length === 6, + pattern.id?.length <= 6, "tiktok": pattern => pattern.postId?.length <= 21 || pattern.shortLink?.length <= 13,