Migrate to tslint 5.1.0

This commit is contained in:
Aya Morisawa
2017-04-14 20:45:37 +09:00
parent 798d1610f0
commit b095efaee5
16 changed files with 107 additions and 95 deletions

View File

@ -58,7 +58,7 @@ export default async (req: express.Request, res: express.Response) => {
const hash = bcrypt.hashSync(password, salt);
// Generate secret
const secret = '!' + rndstr('a-zA-Z0-9', 32);
const secret = `!${rndstr('a-zA-Z0-9', 32)}`;
// Create account
const account = await User.insert({