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

fix: gpx response not returned correctly #75

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

TheGreatRefrigerator
Copy link
Collaborator

the text response from the gpx endpoint was also retrieved through the .json function of the Response object which threw an error as it was not possible to parse the gpx to json.

For gpx it now uses the .text function instead and just returns the gpx result as a string.

the text response from the gpx endpoint was also retrieved through
the .json function of the Response object which threw an error as it
was not possible to parse the gpx to json.

For gpx it now uses the .text function instead and just returns the
gpx result as a string.
@sonarcloud
Copy link

sonarcloud bot commented Aug 9, 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
0.0% 0.0% Duplication

@codecov-commenter
Copy link

Codecov Report

Merging #75 (c9a3865) into main (2504198) will not change coverage.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main      #75   +/-   ##
=======================================
  Coverage   99.09%   99.09%           
=======================================
  Files          15       15           
  Lines         331      331           
  Branches       57       57           
=======================================
  Hits          328      328           
  Misses          3        3           
Files Changed Coverage Δ
src/OrsBase.js 100.00% <100.00%> (ø)

@TheGreatRefrigerator TheGreatRefrigerator merged commit 2eacee2 into main Aug 9, 2023
3 checks passed
@TheGreatRefrigerator TheGreatRefrigerator deleted the fix/gpx-result-handling branch August 9, 2023 13:49
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.

None yet

2 participants