Skip to content

Commit

Permalink
Merge branch 'hotfix/0.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Kent committed Feb 4, 2020
2 parents 8911cda + cb43a86 commit 1fa54e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion _bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@
$prefix = 'eu-';
} else if (strcasecmp($region, "NORTH_AMERICA") == 0) {
$prefix = 'na-';
} else if (strcasecmp($region, "INDIA") == 0) {
$prefix = 'in.';
} else if (strcasecmp($region, "MTF") == 0) {
$prefix = 'test-';
} else if (strcasecmp($region, "QA01") == 0) {
$prefix = 'qa01.';
} else {
error(500, "Invalid region provided. Valid values include ASIA_PACIFIC, EUROPE, NORTH_AMERICA, MTF");
error(500, "Invalid region provided. Valid values include ASIA_PACIFIC, EUROPE, NORTH_AMERICA, INDIA, MTF");
}

// validate apiVersion is above minimum
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"GATEWAY_REGION": {
"required": true,
"description": "The Gateway region to target (options: ASIA_PACIFIC, EUROPE, NORTH_AMERICA, MTF)",
"description": "The Gateway region to target (options: ASIA_PACIFIC, EUROPE, NORTH_AMERICA, INDIA, MTF)",
"value": "MTF"
},
"GATEWAY_API_VERSION": {
Expand Down

0 comments on commit 1fa54e7

Please sign in to comment.