Skip to content

Commit

Permalink
ENG-0000 - revert residency update (#365)
Browse files Browse the repository at this point in the history
Co-authored-by: Juan Galarza <[email protected]>
  • Loading branch information
juandagr and Juan Galarza authored May 29, 2024
1 parent ee961bb commit 9a6fee3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@al/core",
"version": "1.2.28",
"version": "1.2.29",
"description": "Node Enterprise Packages for Alert Logic (NEPAL) Core Library",
"main": "./dist/index.cjs.js",
"types": "./dist/index.d.ts",
Expand Down
3 changes: 0 additions & 3 deletions src/client/al-api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -823,9 +823,6 @@ export class AlApiClient implements AlValidationSchemaProvider
// Utilize the endpoints service to determine which location to use for this service/account pair
fullPath = await this.prepare( params );
}
if (params.noEndpointsResolution && !fullPath && params.residency) {
fullPath = AlLocatorService.resolveURL(params.service_stack, null, {residency: params.residency});
}
if ( ! fullPath ) {
// If specific endpoints are disabled or unavailable, use the environment-level default
fullPath = AlLocatorService.resolveURL( params.service_stack );
Expand Down

0 comments on commit 9a6fee3

Please sign in to comment.