From b095efaee59572800244b34564692fd999cc4ded Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Fri, 14 Apr 2017 20:45:37 +0900 Subject: Migrate to tslint 5.1.0 --- src/api/private/signup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/private') diff --git a/src/api/private/signup.ts b/src/api/private/signup.ts index bd2a7ef02a..2375c22845 100644 --- a/src/api/private/signup.ts +++ b/src/api/private/signup.ts @@ -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({ -- cgit v1.2.3-freya