Skip to content

Commit

Permalink
fix kyc
Browse files Browse the repository at this point in the history
  • Loading branch information
alonp99 committed Aug 9, 2023
1 parent 9934b91 commit 9cc9849
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class KycSessionPlugin extends ApiPlugin {
}
return super.validateContent(schemaValidator, transformedRequest, validationContext);
}

async makeApiRequest(
url: string,
method: ApiPlugin['method'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ export const kycEmailSessionDefinition = {
{
transformer: 'jmespath',
mapping: `{
firstName: entity.data.firstName,
endUserId: entity.id,
firstName: entity.data.firstName,
lastName: entity.data.lastName,
callbackUrl: join('',['{secret.APP_API_URL}/api/v1/external/workflows/',workflowRuntimeId,'/hook/KYC_HOOK_RESPONDED', '?resultDestination=pluginsOutput.kyc_session.kyc_session_1.result']),
vendor: 'veriff'
Expand Down

0 comments on commit 9cc9849

Please sign in to comment.