Optional-cms-api-env (#4503)
* feat: adding option to specify a separate cms env for testing local choreo and remote cms * fix: my favorite whoopsie * formatting --------- Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
parent
e09686ede9
commit
cdd34a7f7c
1 changed files with 3 additions and 1 deletions
|
|
@ -65,7 +65,9 @@ class Environment {
|
|||
}
|
||||
|
||||
static String get cmsApi {
|
||||
final envEntry = appConfigOverride?.choreoApi ?? dotenv.env['CHOREO_API'];
|
||||
final envEntry = dotenv.env['CMS_API'] ??
|
||||
appConfigOverride?.choreoApi ??
|
||||
dotenv.env['CHOREO_API'];
|
||||
if (envEntry == null) {
|
||||
return "Not found";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue