From 60eca48eeadf7cda7a153f4aea985f35f198e81e Mon Sep 17 00:00:00 2001 From: freyamade Date: Wed, 17 Jul 2024 13:36:41 +0200 Subject: [PATCH] edit error message to make it sound less blamey --- backend/api/views/xivgear.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/views/xivgear.py b/backend/api/views/xivgear.py index fda3824..aa9f1df 100644 --- a/backend/api/views/xivgear.py +++ b/backend/api/views/xivgear.py @@ -151,7 +151,7 @@ def get(self, request: Request, id: str) -> Response: 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) + return Response({'message': 'Could not find some of the items on XIVAPI, 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')