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 marketplace data fetching #15447
Fix marketplace data fetching #15447
Conversation
Codecov ReportBase: 49.80% // Head: 65.11% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## feature/market-pagination #15447 +/- ##
==============================================================
+ Coverage 49.80% 65.11% +15.31%
==============================================================
Files 290 1064 +774
Lines 10184 22947 +12763
Branches 2252 4084 +1832
==============================================================
+ Hits 5072 14942 +9870
- Misses 4214 7055 +2841
- Partials 898 950 +52
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Great, I didn't pull and test but I trust it works.
// Only keep v4 plugins | ||
const filteredResponse = { | ||
...response, | ||
data: response.data.filter((plugin) => plugin.attributes.strapiCompatibility === 'v4'), | ||
}; | ||
|
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.
Should we update the proxy now to remove strapiCompatibility
?
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.
I don't think we can because it would break the previous versions of strapi apps
What does it do?
Why is it needed?
Provide information about the environment and the path to verify the behaviour.
Related issue(s)/PR(s)
axios/axios#5113