-
Notifications
You must be signed in to change notification settings - Fork 61
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: remove getAvailableIntegrations and start using the other call we already do #6144
base: main
Are you sure you want to change the base?
Conversation
a6b005f
to
b3df094
Compare
This pull request adds or modifies JavaScript ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You probably want to change from chore:
to fix:
btw.
@@ -62,8 +53,9 @@ export const mergeIntegrations = async function ({ | |||
|
|||
return { | |||
slug: integration.slug, | |||
version: integration.hostSiteUrl, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@serhalp wait gimme more info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just confused about previously setting a field called "version" to a URL!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah it's called 'version' because it's the site version
This pull request adds or modifies JavaScript ( |
We merge extensions that come from our extension API and from the netlify config. For some reason we were still calling an old endpoint to get extensions from our API again.
I've removed the call to the old endpoint and am using the extensions we already fetched.
I think this logic was there because we tried to support installing extensions from within the netlify.toml. But we do not have that documented, nor do we currently support it.
Check old issue: https://github.com/netlify/pod-composable-tooling/issues/269
🎉 Thanks for submitting a pull request! 🎉
Summary
Fixes #<replace_with_issue_number>
For us to review and ship your PR efficiently, please perform the following steps:
we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or
something that`s on fire 🔥 (e.g. incident related), you can skip this step.
your code follows our style guide and passes our tests.
A picture of a cute animal (not mandatory, but encouraged)