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

Bug fix for makeRequest base URL logic #1273

Merged

Conversation

webstackdev
Copy link
Contributor

Summary

Fix the URL passed to Axios by makeRequest

Description

When you use the makeRequest function in a JS migration script, I encountered a URL not found error because the current makeBaseUrl function does not prepend the protocol and domain to the URL.

Motivation and Context

I'm trying to set up a CI/CD pipeline for a Contentful project. I need the makeRequest function for a migration.

  • Implemented feature
  • Feature with pending implementation

@webstackdev webstackdev requested a review from a team as a code owner November 23, 2023 09:56
Copy link
Contributor

@mgoudy91 mgoudy91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable. Thanks for the contribution!

@webstackdev
Copy link
Contributor Author

@mgoudy91 This PR still shows a "test-and-release" check waiting for status - anything I can do to get it closed and merged?

@jjolton-contentful jjolton-contentful merged commit 2ae3bdc into contentful:master Dec 8, 2023
2 checks passed
@contentful-automation
Copy link

🎉 This PR is included in version 4.18.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants