Skip to content

Commit

Permalink
Merge branch 'refs/heads/feature/cancle-email-register' into feature/…
Browse files Browse the repository at this point in the history
…2.7.1-union
  • Loading branch information
becket01 committed Jan 14, 2025
2 parents 9bb55af + 73595bf commit 3bc48aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public class DepositInfoDto
public string MinAmountUsd { get; set; }
public string ServiceFee { get; set; }
public string ServiceFeeUsd { get; set; }
public string CurrentThreshold { get; set; }
public List<string> ExtraNotes { get; set; }
public ExtraInfo ExtraInfo { get; set; }
}
Expand Down
5 changes: 5 additions & 0 deletions src/CAServer.HttpApi/Controllers/CAVerifierController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ public async Task<VerifierServerResponse> SendVerificationRequest([FromHeader] s
[FromHeader] string acToken,
VerifierServerInput verifierServerInput)
{
if (verifierServerInput.OperationType == OperationType.CreateCAHolder)
{
throw new UserFriendlyException("Not support email register yet.");
}

var type = verifierServerInput.OperationType;
ValidateOperationType(type);
var sendVerificationRequestInput =
Expand Down

0 comments on commit 3bc48aa

Please sign in to comment.