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

Check base path and not stage for '/' in rest API creation #561

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

scrampin
Copy link
Contributor

Fixes #558

Description of Issue Fixed
Hi there, I've encountered the same issue that was described in #558 , however the update to 6.4.3 doesn't seem to have fixed this. I think the check for a '/' in the baseStage parameter should instead be checking the 'basePath' parameter, when determining the API wrapper version to use.

Changes proposed in this pull request:

  • Check basePath parameter for '/'
  • Test case for the above

@sonarcloud
Copy link

sonarcloud bot commented Feb 24, 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

@rddimon rddimon merged commit 45ab284 into amplify-education:main Feb 24, 2023
@scrampin scrampin deleted the basepath-check branch February 24, 2023 14:16
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.

Version 6.4.2 causes error setting base path mappings for API Gateway V1
2 participants