Skip to content

Commit 8a9fb08

Browse files
authored
fix(Captcha): fix a stackoverflow (#478)
1 parent 1afcb0e commit 8a9fb08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/captcha.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = (AV) => {
4040
* @return {Promise.<string>} a new capcha url
4141
*/
4242
AV.Captcha.prototype.refresh = function refresh() {
43-
return AV.Cloud.requestCaptcha(this._options, this._authOptions).then(({
43+
return AV.Cloud._requestCaptcha(this._options, this._authOptions).then(({
4444
captchaToken, url,
4545
}) => {
4646
Object.assign(this, { captchaToken, url });

0 commit comments

Comments
 (0)