Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/remove v2 requirement #77

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

TheGreatRefrigerator
Copy link
Collaborator

No description provided.

the error when api_version v1 was highly restrictive.
This is removed and requests done with any api_version value.

Remove 'useAPIV2Msg' constant

There still isn't an option to have no api_Version at all.
When running an ors instance on e.g.
https://my-page.org/services/directions/
one would have work around and set

args.host = 'https://my-page.org'
args.api_version = 'services'

to build the url correctly and get a valid response.
@sonarcloud
Copy link

sonarcloud bot commented Sep 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.01% ⚠️

Comparison is base (f520589) 99.09% compared to head (caab49a) 99.08%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   99.09%   99.08%   -0.01%     
==========================================
  Files          15       15              
  Lines         331      328       -3     
  Branches       57       55       -2     
==========================================
- Hits          328      325       -3     
  Misses          3        3              
Files Changed Coverage Δ
src/constants.js 100.00% <ø> (ø)
src/OrsBase.js 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TheGreatRefrigerator TheGreatRefrigerator merged commit 7b3a190 into main Sep 22, 2023
3 checks passed
@TheGreatRefrigerator TheGreatRefrigerator deleted the refactor/remove-v2-requirement branch September 22, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants