fix: change sumsub usage away from self-hosted solutions

This commit is contained in:
Sérgio Salgado 2023-04-11 23:37:33 +01:00 committed by Rafael Taranto
parent 6ba0632067
commit b06927fd1c
7 changed files with 15 additions and 17 deletions

View file

@ -3,8 +3,8 @@ const { loadLatest } = require('../../../new-settings-loader')
const resolvers = {
Query: {
getApplicantAccessToken: (...[, { customerId, triggerId }]) => loadLatest()
.then(settings => externalCompliance.createApplicantAccessToken(settings, customerId, triggerId))
getApplicantExternalLink: (...[, { customerId, triggerId }]) => loadLatest()
.then(settings => externalCompliance.createApplicantExternalLink(settings, customerId, triggerId))
}
}