feat: tiktok order
This commit is contained in:
parent
dfb5c05979
commit
b744b60be6
1 changed files with 7 additions and 7 deletions
|
|
@ -126,13 +126,6 @@ export class TiktokProvider extends SocialAbstract implements SocialProvider {
|
|||
};
|
||||
}
|
||||
|
||||
if (body.indexOf('spam_risk') > -1) {
|
||||
return {
|
||||
type: 'bad-body' as const,
|
||||
value: 'TikTok detected potential spam',
|
||||
};
|
||||
}
|
||||
|
||||
if (body.indexOf('spam_risk_too_many_posts') > -1) {
|
||||
return {
|
||||
type: 'bad-body' as const,
|
||||
|
|
@ -148,6 +141,13 @@ export class TiktokProvider extends SocialAbstract implements SocialProvider {
|
|||
};
|
||||
}
|
||||
|
||||
if (body.indexOf('spam_risk') > -1) {
|
||||
return {
|
||||
type: 'bad-body' as const,
|
||||
value: 'TikTok detected potential spam',
|
||||
};
|
||||
}
|
||||
|
||||
if (body.indexOf('reached_active_user_cap') > -1) {
|
||||
return {
|
||||
type: 'bad-body' as const,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue