diff --git a/backend/api/views/xivgear.py b/backend/api/views/xivgear.py index fbf3e27..fda3824 100644 --- a/backend/api/views/xivgear.py +++ b/backend/api/views/xivgear.py @@ -149,6 +149,9 @@ def get(self, request: Request, id: str) -> Response: gear_names = XIVAPISearchClient.get_item_information(*sa_gear.values()) except requests.HTTPError as e: return Response({'message': e.response.text}, 400) + + if len(gear_names) != len(sa_gear): + return Response({'message': 'XIVAPI appears to be missing gear information, please try again later!'}, 400) # Use the returned map to calculate the min and max ils, and also replace IDs with names in sa_gear min_il = float('inf') diff --git a/frontend/src/components/modals/changelog.vue b/frontend/src/components/modals/changelog.vue index b03bd49..b62ddde 100644 --- a/frontend/src/components/modals/changelog.vue +++ b/frontend/src/components/modals/changelog.vue @@ -38,6 +38,7 @@
This set of documentation is mostly manually written so if there are any questions, feel free to ask on Discord/Github!
Fixed handling issues when XIVApi has not been updated with new items yet, when trying to import XIVGear sets.
Fixed a bug causing the popup generated by the "Add New" button on the Team Membership forms to not display any information.
Improved fetching of Teams from the database to improve speed and lessen the load on the server.
Added "API Schema" and "Plugin" links to the footer icons.