コメント追加

This commit is contained in:
rca 2024-06-18 02:44:39 +09:00
parent dea1aad7f1
commit 352800b72e

View File

@ -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 });
}