This PR addresses the issue #8 by allowing the SugarCRM API version to be configured through environment variables. The current implementation has the API version hardcoded in the API calls, which limits flexibility and maintainability.
Summary of Changes
Updated the api.ts file to replace the hardcoded API version in the URLs with a variable that reads from the environment variables.
Added instructions in the README.md file for setting the API version in the environment variables.
These changes ensure that the API version can be easily configured without modifying the code, making it more flexible and adaptable to different versions of SugarCRM.
Please review and merge this PR at your earliest convenience. Thank you!
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/feature/configure-api-version
To make tweaks to this pull request, leave a comment below or in the code.
Description
This PR addresses the issue #8 by allowing the SugarCRM API version to be configured through environment variables. The current implementation has the API version hardcoded in the API calls, which limits flexibility and maintainability.
Summary of Changes
api.ts
file to replace the hardcoded API version in the URLs with a variable that reads from the environment variables.README.md
file for setting the API version in the environment variables.These changes ensure that the API version can be easily configured without modifying the code, making it more flexible and adaptable to different versions of SugarCRM.
Please review and merge this PR at your earliest convenience. Thank you!
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
To make tweaks to this pull request, leave a comment below or in the code.