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

iFixit API is returning "null" when listing category #93

Closed
benoit74 opened this issue Dec 9, 2023 · 1 comment
Closed

iFixit API is returning "null" when listing category #93

benoit74 opened this issue Dec 9, 2023 · 1 comment
Assignees
Labels
bug Something isn't working priority 1 High priority
Milestone

Comments

@benoit74
Copy link
Collaborator

benoit74 commented Dec 9, 2023

When listing categories, the API is now returning something like

{
    "Mac": {
        "Mac Hardware": {
            "Apple Time Capsule": {
                "Apple Time Capsule Model A1302": null,
                "AirPort Time Capsule A1470": null,
                "AirPort Time Capsule Model A1409": null,
                "Apple Time Capsule Model A1254": null,
                "Apple Time Capsule A1355 (3.Generation)": null
            }
        }
    }
}

This creates a bug in _process_categories, most probably because the API was previously returning something like this:

{
    "Mac": {
        "Mac Hardware": {
            "Apple Time Capsule": {
                "Apple Time Capsule Model A1302": {},
                "AirPort Time Capsule A1470": {},
                "AirPort Time Capsule Model A1409": {},
                "Apple Time Capsule Model A1254": {},
                "Apple Time Capsule A1355 (3.Generation)": {}
            }
        }
    }
}
@benoit74 benoit74 added the bug Something isn't working label Dec 9, 2023
@benoit74 benoit74 self-assigned this Dec 9, 2023
@benoit74 benoit74 added this to the 0.3.0 milestone Dec 9, 2023
@benoit74 benoit74 added the priority 1 High priority label Dec 9, 2023
@benoit74
Copy link
Collaborator Author

Fixed by a14ce78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority 1 High priority
Projects
None yet
Development

No branches or pull requests

1 participant