Skip to content

Commit

Permalink
add all supported kyc instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Eslam-Nawara committed Oct 30, 2024
1 parent 591810a commit 55ab6e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions pkg/environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ var (
"https://graphql.dev.grid.tf/graphql",
"https://graphql.02.dev.grid.tf/graphql",
},
KycURL: "",
KycURL: "https://kyc.dev.grid.tf",
}

envTest = Environment{
Expand All @@ -148,7 +148,7 @@ var (
"https://graphql.test.grid.tf/graphql",
"https://graphql.02.test.grid.tf/graphql",
},
KycURL: "",
KycURL: "https://kyc.test.grid.tf",
}

envQA = Environment{
Expand All @@ -171,7 +171,7 @@ var (
"https://graphql.qa.grid.tf/graphql",
"https://graphql.02.qa.grid.tf/graphql",
},
KycURL: "",
KycURL: "https://kyc.qa.grid.tf",
}

envProd = Environment{
Expand All @@ -197,7 +197,7 @@ var (
"https://graphql.grid.tf/graphql",
"https://graphql.02.grid.tf/graphql",
},
KycURL: "https://kyc1.gent01.dev.grid.tf",
KycURL: "https://kyc.grid.tf",
}
)

Expand Down
4 changes: 0 additions & 4 deletions pkg/provision/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1192,10 +1192,6 @@ func getTwinVerificationState(twinID uint32) (status string) {
return
}

if len(verificationServiceURL) == 0 {
return "VERIFIED"
}

request, err := http.NewRequest(http.MethodGet, verificationServiceURL, nil)
if err != nil {
return
Expand Down

0 comments on commit 55ab6e1

Please sign in to comment.