Fixing RequestHandler TOTP
This commit is contained in:
@@ -396,7 +396,7 @@ class RequestHandler {
|
|||||||
request.retries < 1
|
request.retries < 1
|
||||||
) {
|
) {
|
||||||
// Get mfa code
|
// Get mfa code
|
||||||
const { otp } = await TOTP.generate(this.options.TOTPKey);
|
const { otp } = await TOTP.generate(this.manager.client.options.TOTPKey);
|
||||||
this.manager.client.emit(
|
this.manager.client.emit(
|
||||||
DEBUG,
|
DEBUG,
|
||||||
`${data.message}
|
`${data.message}
|
||||||
|
|||||||
Reference in New Issue
Block a user