fix: export not default class

This commit is contained in:
lancegin
2017-06-29 14:39:24 +08:00
parent 5a82eb6db6
commit 5544c86620
4 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
* @author : Gin (gin.lance.inside@hotmail.com)
*/
export default class OTP {
export class OTP {
/*
* This constructor will create OTP instance.
*
@@ -41,7 +41,7 @@ export default class OTP {
* @return {OTP}
*/
generate_otp(input) {
console.log("OTP.generate_otp");
return "OTP.generate_otp";
}
}