Simplify captcha response handling

This commit is contained in:
trevor-signal 2023-05-09 16:49:00 -04:00 committed by GitHub
parent 052aca3119
commit 583a321dd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,7 @@ export class ChallengeMainHandler {
log.info( log.info(
'challengeMain.handleCaptcha: sending captcha response to ' + 'challengeMain.handleCaptcha: sending captcha response to ' +
`${handlers.length} handlers`, `${handlers.length} handlers`
response
); );
for (const resolve of handlers) { for (const resolve of handlers) {
resolve(response); resolve(response);