...
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Common.Dtos.User;
|
||||
using Common.Dtos.Verification;
|
||||
using Common.Enums;
|
||||
using System.Net.Http.Json;
|
||||
|
||||
@@ -18,10 +18,7 @@ namespace HushianWebApp.Service
|
||||
|
||||
string route = type switch
|
||||
{
|
||||
VerificationCodeType.PhoneNumberConfirmed => "PhoneNumberConfirmedFromUserName",
|
||||
VerificationCodeType.ForgetPassword => "ForgetPasswordFromUserName",
|
||||
VerificationCodeType.ChangeMobile => throw new NotImplementedException(),
|
||||
VerificationCodeType.Login => throw new NotImplementedException(),
|
||||
VerificationCodeType.ForgetPassword => "ForgetPassword",
|
||||
_ => throw new NotImplementedException()
|
||||
};
|
||||
var response = await _baseController.Get($"v1/Verification/{route}/{mobile}");
|
||||
|
Reference in New Issue
Block a user