Skip to content

Commit

Permalink
refactored for PRs comments
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavShevchenko committed Mar 19, 2020
1 parent e8edd22 commit 40c2cc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/server/verification/faceRecognition/human.js
Expand Up @@ -5,7 +5,7 @@ const { id: app_id, key: app_key } = conf.kairos

const apiKairos = new kairosAPI({ app_id, app_key }, 'test', true)

const humanInstance = new humanApi(
export default new humanApi(
apiKairos,
{
livenessThresh: 0.8,
Expand All @@ -16,5 +16,3 @@ const humanInstance = new humanApi(
},
true
)

export default humanInstance
3 changes: 2 additions & 1 deletion src/server/verification/verification.js
Expand Up @@ -5,7 +5,8 @@ import UserDBPrivate from '../db/mongo/user-privat-provider'
import logger from '../../imports/logger'
import humanAPI from './faceRecognition/human'
import AdminWallet from '../blockchain/AdminWallet'
import pick from 'lodash/pick'
import { pick } from 'lodash'

/**
* Verifications class implements `VerificationAPI`
* Used to verify user, email and mobile phone.
Expand Down

0 comments on commit 40c2cc6

Please sign in to comment.