-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OnboardingAPI: fix-ups for algol (#1560)
* Send proper chain id to api * Fix typescript errors * Fix onboarding for algol/demo * Fix global onboarding status * Fix global status for evm * Update email dynamic data to match new templates * Remove duplicate pool name
- Loading branch information
1 parent
bc4a9d3
commit 76b3955
Showing
12 changed files
with
57 additions
and
30 deletions.
There are no files selected for viewing
17 changes: 12 additions & 5 deletions
17
centrifuge-app/src/pages/Onboarding/queries/useGlobalOnboardingStatus.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
# VARIABLES | ||
REDIRECT_URL=http://localhost:3000 | ||
MEMBERLIST_ADMIN_PURE_PROXY=kAM1ELFDHdHeLDAkAdwEnfufoCL5hpUycGs4ZQkSQKVpHFoXm | ||
COLLATOR_WSS_URL=wss://fullnode.algol.cntrfg.com/public-ws | ||
RELAY_WSS_URL=wss://fullnode-relay.algol.cntrfg.com | ||
INFURA_KEY=bf808e7d3d924fbeb74672d9341d0550 | ||
EVM_NETWORK=goerli | ||
ONBOARDING_STORAGE_BUCKET=centrifuge-onboarding-api-dev | ||
# SECRETS | ||
SHUFTI_PRO_SECRET_KEY= | ||
SHUFTI_PRO_CLIENT_ID= | ||
NODE_ENV=development | ||
JWT_SECRET= | ||
REDIRECT_URL=http://localhost:3000 | ||
SENDGRID_API_KEY= | ||
SENDGRID_API_KEY= | ||
COOKIE_SECRET= | ||
EVM_MEMBERLIST_ADMIN_PRIVATE_KEY= | ||
PURE_PROXY_CONTROLLER_SEED= |
12 changes: 3 additions & 9 deletions
12
onboarding-api/src/controllers/user/getGlobalOnboardingStatus.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
const devEnvs = ['demo', 'development', 'catalyst'] | ||
const devEnvs = ['algol', 'development', 'catalyst'] | ||
export const IS_DEV_ENV = devEnvs.some((env) => process.env.COLLATOR_WSS_URL.includes(env)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters