Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ module.exports = {
},

ID_VERIFICATION_PROCESSOR_CRON_EXPRESSION: process.env.ID_VERIFICATION_PROCESSOR_CRON_EXPRESSION || '0 */12 * * *',
PAUSE_ID_VERIFICATION: process.env.PAUSE_ID_VERIFICATION || false,
FETCH_LOOKER_VERIFIED_MEMBER_TIMEFRAME_DAYS: process.env.FETCH_LOOKER_VERIFIED_MEMBER_TIMEFRAME_DAYS || '3',
// looker-api config
lookerConfig: {
BASE_URL: process.env.LOOKER_API_BASE_URL || '', // looker api base url
Expand Down
12 changes: 0 additions & 12 deletions src/common/LookerApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@ function LookApi (logger) {
this.lookAuth = new LookAuth(logger)
}

/**
* Find recent verified members
* @param {String} duration the verification date duration to filter
* @returns an array of verified members
*/
LookApi.prototype.findRecentVerifiedMembers = function (duration) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove all occurances of findRecentVerifiedMembers from the code as well:
https://github.com/search?q=repo%3Atopcoder-platform%2Fonboarding-processor%20findRecentVerifiedMembers&type=code

const view = 'member_verification'
const fields = ['member_verification.user_id', 'member_verification.verification_mode', 'member_verification.status', 'member_verification.matched_on', 'member_verification.verification_date']
const filters = { 'member_verification.verification_date': duration }
return this.runQueryWithFilter('member_profile', view, fields, filters)
}

/**
* Run query with filter
* @param {String} model the model name
Expand Down
143 changes: 0 additions & 143 deletions src/services/IdVerificationProcessorService.js

This file was deleted.