Skip to content

Commit 51c5d05

Browse files
committed
api/service-patterns/tiktok: allow longer shortLink
tiktok is a/b testing a new shortLink format that's ±19 characters long but behaves the same way as old format
1 parent 900c6f2 commit 51c5d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/processing/service-patterns.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const testers = {
4343
pattern.id?.length <= 6,
4444

4545
"tiktok": pattern =>
46-
pattern.postId?.length <= 21 || pattern.shortLink?.length <= 13,
46+
pattern.postId?.length <= 21 || pattern.shortLink?.length <= 21,
4747

4848
"tumblr": pattern =>
4949
pattern.id?.length < 21

0 commit comments

Comments
 (0)