hdong: Fix phone exist check issues.

This commit is contained in:
YouWeiDH 2024-11-25 10:32:03 +08:00
parent 28908d9592
commit 5bf9173708

View file

@ -548,7 +548,7 @@ public class UserService : IUserService
}
var db = _services.GetRequiredService<IBotSharpRepository>();
var UserByphone = db.GetUserByPhone(phone, regionCode);
var UserByphone = db.GetUserByPhone(phone, regionCode: regionCode);
if (UserByphone != null && UserByphone.Verified)
{
return true;