diff --git a/dist/doboard-widget-bundle.js b/dist/doboard-widget-bundle.js index 20fc607..1363662 100644 --- a/dist/doboard-widget-bundle.js +++ b/dist/doboard-widget-bundle.js @@ -1,4 +1,4 @@ -const DOBOARD_API_URL = 'https://api.doboard.com'; +const SPOTFIX_DOBOARD_API_URL = 'https://api.doboard.com'; /** * Makes an API call to the DoBoard endpoint with form data @@ -33,9 +33,9 @@ const spotfixApiCall = async(data, method, accountId = undefined) => { let endpointUrl; if (accountId !== undefined) { - endpointUrl = `${DOBOARD_API_URL}/${accountId}/${method}`; + endpointUrl = `${SPOTFIX_DOBOARD_API_URL}/${accountId}/${method}`; } else { - endpointUrl = `${DOBOARD_API_URL}/${method}`; + endpointUrl = `${SPOTFIX_DOBOARD_API_URL}/${method}`; } try { diff --git a/js/src/api.js b/js/src/api.js index 0103450..be6c29d 100644 --- a/js/src/api.js +++ b/js/src/api.js @@ -1,4 +1,4 @@ -const DOBOARD_API_URL = 'https://api.doboard.com'; +const SPOTFIX_DOBOARD_API_URL = 'https://api.doboard.com'; /** * Makes an API call to the DoBoard endpoint with form data @@ -33,9 +33,9 @@ const spotfixApiCall = async(data, method, accountId = undefined) => { let endpointUrl; if (accountId !== undefined) { - endpointUrl = `${DOBOARD_API_URL}/${accountId}/${method}`; + endpointUrl = `${SPOTFIX_DOBOARD_API_URL}/${accountId}/${method}`; } else { - endpointUrl = `${DOBOARD_API_URL}/${method}`; + endpointUrl = `${SPOTFIX_DOBOARD_API_URL}/${method}`; } try {