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

View File

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