Fix createCaptcha() not working.

This commit is contained in:
XfedeX 2021-11-29 18:36:18 +01:00 committed by GitHub
parent d73f3d4c9e
commit 9d10f9b1a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ module.exports.create = create;
module.exports.createMathExpr = createMathExpr;
module.exports.createCaptcha = function (text, options) {
options = Object.assign({}, opts, options);
createCaptcha(text, options);
return createCaptcha(text, options);
}
module.exports.options = opts;
module.exports.loadFont = optionMngr.loadFont;