mirror of
https://github.com/r-ca/kidshift-be.git
synced 2024-10-25 16:14:02 +00:00
コメント追加
This commit is contained in:
parent
dea1aad7f1
commit
352800b72e
|
@ -7,7 +7,7 @@ async function registUser(email: string, password: string, homeGroupId?: string)
|
|||
|
||||
const hashedPassword = bcrypt.hashSync(password, 10);
|
||||
|
||||
if (!homeGroupId) {
|
||||
if (!homeGroupId) { // TODO: 作成失敗したときにHomeGroupだけ残るのを防ぐ
|
||||
homeGroupId = await createHomeGroup(email).then((homeGroup) => { return homeGroup.id });
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user