Fix kyc info and data and api handler
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -142,12 +142,12 @@ func (self *KycServiceImpl) SessionKyc(payload *KycSessionPayload) (result *KycS
|
||||
SetEndpoint(exception.EndpointKycServiceSession).
|
||||
SetType(exception.TypeSpecific).
|
||||
SetOriginal(exception.KycSessionFailed).
|
||||
SetError(err).
|
||||
SetError(nil).
|
||||
Throw(payload.Context)
|
||||
|
||||
result = &KycSessionResult{
|
||||
Common: shared.CommonResult{
|
||||
HttpCode: 500,
|
||||
HttpCode: 400,
|
||||
Exception: exception,
|
||||
},
|
||||
Data: nil,
|
||||
|
||||
Reference in New Issue
Block a user