-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
/libraries returns wrong data for some libraries #56
Comments
Version logs for ref: https://github.com/cdnjs/logs/tree/prod/packages/c/caf/13.1.1 |
I just ran a manual re-update of the library to trigger a reindex in Algolia (which is what backs our libraries search endpoint, rather than our own metadata the backs the individual library routes), and it seems to have resolved this:
|
@tc80 I wonder if, once we've done our latest set of maintenance to the bot, it'd be worth doing a reindex of the latest versions of every library in Algolia -- might resolve other libraries that have this issue, as well as the missing SRI & null version issues? |
That seems like a good idea as there are certainly more libraries with this problem right now. |
Details
Description
The
filename
andlatest
(not sure if any other) fields return incorrect values via/libraries
endpoint for some libraries, while correct data is returned via/libraries/:library
endpoint.Steps to reproduce
Data for a library "caf" as returned by https://api.cdnjs.com/libraries?fields=name,latest,version,filename:
Data for the same library as returned by https://api.cdnjs.com/libraries/caf?fields=name,latest,version,filename:
Expected behavior
/libraries
should return the same data as/libraries/:library
Logs
N/A
The text was updated successfully, but these errors were encountered: