Skip to content

Commit b9fe99a

Browse files
committed
fix lint
1 parent 883a62e commit b9fe99a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HttpApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ class UwaveHttpApi extends Router {
109109
+ 'secret, or disable hCaptcha validation by setting "options.recaptcha" '
110110
+ 'to "false".');
111111
}
112-
if (options.recaptcha && options.recaptcha.secret &&
113-
!options.recaptcha.secret.startsWith('0x')) {
112+
if (options.recaptcha && options.recaptcha.secret
113+
&& !options.recaptcha.secret.startsWith('0x')) {
114114
throw new Error('hCaptcha validation is enabled, but "options.recaptcha.secret" does not '
115115
+ 'look like an hCaptcha secret key. Please use the secret listed on '
116116
+ 'https://dashboard.hcaptcha.com/welcome.');

0 commit comments

Comments
 (0)