typo fix
This commit is contained in:
parent
c44935e7df
commit
278125bfd9
2
index.js
2
index.js
|
@ -57,7 +57,7 @@ LE.create = function (backend, defaults, handlers) {
|
||||||
if (defaults.agreeTos) {
|
if (defaults.agreeTos) {
|
||||||
console.warn("[WARN] Agreeing to terms by default is risky business...");
|
console.warn("[WARN] Agreeing to terms by default is risky business...");
|
||||||
}
|
}
|
||||||
handlers.removeChallenge = require('./lib/default-handlers').agreeToTerms;
|
handlers.agreeToTerms = require('./lib/default-handlers').agreeToTerms;
|
||||||
}
|
}
|
||||||
if ('function' === typeof backend.create) {
|
if ('function' === typeof backend.create) {
|
||||||
backend = backend.create(defaults, handlers);
|
backend = backend.create(defaults, handlers);
|
||||||
|
|
Loading…
Reference in New Issue