Skip to content

Uncaught exception for retryVoice = true #14

@amitbravo

Description

@amitbravo

if I use retryVoice = true , it does not work , fail with "Uncaught exception" however working perfectly with false

sendOtp.retry(phone, false, function (error, data, res) {
if(data.type == 'success'){
console.log('resent successfully');
admin.database().ref('/users/' + phone)
.update({ code: code, codeValid: true }, () => {
response.send({ success: true });
});
}
else {
return response.status(422).send(err);
}
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions