Skip to content

Commit

Permalink
fix: onfido plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Jan 12, 2018
1 parent dbc31dd commit 8202637
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion lib/samplebot/strategy/onfido.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 2 additions & 9 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/samplebot/strategy/onfido.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const createPlugin = ({ bot, logger, productsAPI, apiKey }) => {
productsAPI,
onfidoAPI,
padApplicantName: true,
formsToRequestCorrectionsFor: ['tradle.OnfidoApplicant', 'tradle.Selfie']
formsToRequestCorrectionsFor: ['tradle.onfido.Applicant', 'tradle.Selfie']
})

productsAPI.plugins.use(onfidoPlugin)
Expand Down

0 comments on commit 8202637

Please sign in to comment.