api/service-patterns: update the tiktok tester

This commit is contained in:
wukko 2024-10-12 23:29:19 +06:00
parent ef4dd4875e
commit fe1d17ba8d
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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