Merge pull request #22 from Qtoss-AI/hdongDev

Hdong dev
This commit is contained in:
Haiping 2024-10-11 21:30:18 -05:00 committed by GitHub
commit 58a9da66fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,14 @@ public class UserService : IUserService
if (string.IsNullOrEmpty(user.Id))
{
user.Id = Guid.NewGuid().ToString();
if (hasRegisterId != null)
{
user.Id = hasRegisterId;
}
else
{
user.Id = Guid.NewGuid().ToString();
}
}
record = user;