mirror of
https://github.com/LanceGin/jsotp.git
synced 2026-05-05 00:00:03 +08:00
fix: this is not allowed before super()
This commit is contained in:
+1
-1
@@ -15,8 +15,8 @@ import OTP from './otp';
|
||||
* @return {OTP}
|
||||
*/
|
||||
constructor(interval=30, ...args) {
|
||||
this.interval = interval;
|
||||
super(...args);
|
||||
this.interval = interval;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user