Challenge: remove obsolete option
This commit is contained in:
parent
2478bf1bd3
commit
4e3c79fe25
1 changed files with 1 additions and 8 deletions
|
@ -259,14 +259,7 @@ export class ChallengeHandler {
|
||||||
log.info(`${logId}: tracking ${conversationId} with no waitTime`);
|
log.info(`${logId}: tracking ${conversationId} with no waitTime`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (data && !data.options?.includes('captcha')) {
|
||||||
data &&
|
|
||||||
!(
|
|
||||||
data.options?.includes('captcha') ||
|
|
||||||
// 'recaptcha' is deprecated for removal in 90 days
|
|
||||||
data.options?.includes('recaptcha')
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
const dataString = JSON.stringify(data.options);
|
const dataString = JSON.stringify(data.options);
|
||||||
log.error(
|
log.error(
|
||||||
`${logId}: unexpected options ${dataString}. ${conversationId} is waiting.`
|
`${logId}: unexpected options ${dataString}. ${conversationId} is waiting.`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue