Skip to content

Commit

Permalink
Fix for linter
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored Mar 21, 2024
1 parent 3a1899c commit f4302d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebContent/js/utilities/urlUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ZOSMF_PREFIX_LENGTH = 6;

function atlasAction(endpoint, content, fetchParams) {
// In v3, /ibmzosmf/api/v1 endpoint removes /zosmf part of a /zosmf URL, so string must be trimmed.
let trimmedEndpoint = endpoint.substring(ZOSMF_PREFIX_LENGTH);
const trimmedEndpoint = endpoint.substring(ZOSMF_PREFIX_LENGTH);

return fetch(`https://${whichServer()}/ibmzosmf/api/v1/zosmf/${trimmedEndpoint}`, { ...fetchParams, ...content });
}
Expand Down

0 comments on commit f4302d9

Please sign in to comment.