Update signup.ts

This commit is contained in:
syuilo 2019-07-22 10:16:25 +09:00
parent 85008303f5
commit 4f043b1841

View File

@ -143,6 +143,7 @@ export default async (ctx: Koa.BaseContext) => {
})); }));
await transactionalEntityManager.save(new UsedUsername({ await transactionalEntityManager.save(new UsedUsername({
createdAt: new Date(),
username: username.toLowerCase(), username: username.toLowerCase(),
})); }));
}); });