[auth] fix incorrect arguments
This commit is contained in:
parent
cf442e53d2
commit
d7a832b7c7
@ -173,12 +173,12 @@ export default class PhoneAuthListener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal code sent event handler
|
* Internal code sent event handler
|
||||||
* @param verificationId
|
|
||||||
* @private
|
* @private
|
||||||
|
* @param credential
|
||||||
*/
|
*/
|
||||||
_codeSentHandler(verificationId) {
|
_codeSentHandler(credential) {
|
||||||
const snapshot: PhoneAuthSnapshot = {
|
const snapshot: PhoneAuthSnapshot = {
|
||||||
verificationId,
|
verificationId: credential.verificationId,
|
||||||
code: null,
|
code: null,
|
||||||
error: null,
|
error: null,
|
||||||
state: 'sent',
|
state: 'sent',
|
||||||
@ -198,12 +198,12 @@ export default class PhoneAuthListener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Internal code auto retrieve timeout event handler
|
* Internal code auto retrieve timeout event handler
|
||||||
* @param verificationId
|
|
||||||
* @private
|
* @private
|
||||||
|
* @param credential
|
||||||
*/
|
*/
|
||||||
_codeAutoRetrievalTimeoutHandler(verificationId) {
|
_codeAutoRetrievalTimeoutHandler(credential) {
|
||||||
const snapshot: PhoneAuthSnapshot = {
|
const snapshot: PhoneAuthSnapshot = {
|
||||||
verificationId,
|
verificationId: credential.verificationId,
|
||||||
code: null,
|
code: null,
|
||||||
error: null,
|
error: null,
|
||||||
state: 'timeout',
|
state: 'timeout',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user