fix: change sumsub usage away from self-hosted solutions
This commit is contained in:
parent
6ba0632067
commit
b06927fd1c
7 changed files with 15 additions and 17 deletions
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ const { gql } = require('apollo-server-express')
|
|||
|
||||
const typeDef = gql`
|
||||
type Query {
|
||||
getApplicantAccessToken(customerId: ID, triggerId: ID): String
|
||||
getApplicantExternalLink(customerId: ID, triggerId: ID): String
|
||||
}
|
||||
`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue