Skip to content

Commit

Permalink
Remove EM gating for verify user
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsolo committed Jan 10, 2023
1 parent c9f82a4 commit a6042e7
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 74 deletions.
161 changes: 97 additions & 64 deletions identity-service/package-lock.json

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

2 changes: 1 addition & 1 deletion identity-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"dependencies": {
"@amplitude/node": "^1.9.2",
"@audius/sdk": "1.0.12",
"@audius/sdk": "1.0.37",
"@certusone/wormhole-sdk": "0.1.1",
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
"@opentelemetry/api": "^1.2.0",
Expand Down
4 changes: 1 addition & 3 deletions identity-service/src/routes/instagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ module.exports = function (app) {
const [encodedABI, contractAddress] =
await audiusLibsInstance.User.updateIsVerified(
userId,
true,
config.get('userVerifierPrivateKey'),
config.get('entityManagerReplicaSetEnabled')
config.get('userVerifierPrivateKey')
)
const contractRegKey =
await audiusLibsInstance.contracts.getRegistryContractForAddress(
Expand Down
4 changes: 1 addition & 3 deletions identity-service/src/routes/tiktok.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ module.exports = function (app) {
const [encodedABI, contractAddress] =
await audiusLibsInstance.User.updateIsVerified(
userId,
true,
config.get('userVerifierPrivateKey'),
config.get('entityManagerReplicaSetEnabled')
config.get('userVerifierPrivateKey')
)
const contractRegKey =
await audiusLibsInstance.contracts.getRegistryContractForAddress(
Expand Down
4 changes: 1 addition & 3 deletions identity-service/src/routes/twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,7 @@ module.exports = function (app) {
const [encodedABI, contractAddress] =
await audiusLibsInstance.User.updateIsVerified(
userId,
true,
config.get('userVerifierPrivateKey'),
config.get('entityManagerReplicaSetEnabled')
config.get('userVerifierPrivateKey')
)
const contractRegKey =
await audiusLibsInstance.contracts.getRegistryContractForAddress(
Expand Down

0 comments on commit a6042e7

Please sign in to comment.